bug
This commit is contained in:
@@ -69,6 +69,12 @@ public class CourseController {
|
||||
return R.ok().put("catalogues",courseCatalogues);
|
||||
}
|
||||
|
||||
@RequestMapping("/createProductForCatalogue")
|
||||
public R createProductForCatalogue(@RequestBody Map<String,Integer> map){
|
||||
int id = map.get("id");
|
||||
return courseCatalogueService.createProductForCatalogue(id);
|
||||
}
|
||||
|
||||
@RequestMapping("/addCourseCatalogue")
|
||||
public R addCourseCatalogue(@RequestBody CourseCatalogueEntity courseCatalogue){
|
||||
courseCatalogueService.addCourseCatalogue(courseCatalogue);
|
||||
|
||||
Reference in New Issue
Block a user