This commit is contained in:
wangjinlei
2024-05-22 14:33:07 +08:00
parent 689d241310
commit 01570f2985
8 changed files with 55 additions and 22 deletions

View File

@@ -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);
}

View File

@@ -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);
}
/**