bug
This commit is contained in:
@@ -185,10 +185,12 @@ public class ShopProductController {
|
||||
|
||||
@RequestMapping("/bindProductAndCourse")
|
||||
public R bindProductAndCourse(@RequestBody ShopProductCourseEntity shopProductCourseEntity){
|
||||
shopProductService.bindProductAndCourse(shopProductCourseEntity);
|
||||
return null;
|
||||
return shopProductService.bindProductAndCourse(shopProductCourseEntity);
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping("/unbindProductAndCourse")
|
||||
public R unbindProductAndCourse(@RequestBody Map<String,Integer> map){
|
||||
return shopProductService.unbindProductAndCourse(map.get("productId"),map.get("catalogueId"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user