bug
This commit is contained in:
@@ -101,7 +101,7 @@ public class CourseMedicineMarketController {
|
||||
@RequestMapping(path = "/getCourseByMarketId")
|
||||
public R getCourseByMarketId(@RequestBody Map<String,Integer> map){
|
||||
int marketId = map.get("marketId");
|
||||
List<CourseEntity> courseByMarketId = toMarketService.getCourseByMarketId(marketId);
|
||||
List<CourseToMedicineMarketEntity> courseByMarketId = toMarketService.getCourseByMarketId(marketId);
|
||||
return R.ok().put("list",courseByMarketId);
|
||||
}
|
||||
|
||||
|
||||
@@ -109,8 +109,8 @@ public class CourseSociologyMarketController {
|
||||
|
||||
@RequestMapping("/getCourseListByMarketId")
|
||||
public R getCourseListByMarketId(@RequestBody Map<String,Integer> map){
|
||||
List<CourseEntity> marketId = toMarketService.getCourseListByMarketId(map.get("marketId"));
|
||||
return R.ok().put("courseList",marketId);
|
||||
List<CourseToSociologyMarketEntity> marketId = toMarketService.getCourseListByMarketId(map.get("marketId"));
|
||||
return R.ok().put("list",marketId);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user