修改获取医学课程价格
This commit is contained in:
@@ -18,6 +18,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Slf4j
|
||||
@RestController("medicalHome")
|
||||
@@ -102,8 +103,8 @@ public class HomeController {
|
||||
*/
|
||||
@RequestMapping("/getMedicalCoursePrice")
|
||||
public R getMedicalCoursePrice(){
|
||||
List coursePrice = medicalService.getMedicalCoursePrice();
|
||||
return R.ok().put("list",coursePrice);
|
||||
List<Map<String,Object>> coursePrice = medicalService.getMedicalCoursePrice();
|
||||
return R.ok().put("res",coursePrice);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user