This commit is contained in:
wangjinlei
2024-05-10 13:48:57 +08:00
parent 452a246875
commit 33e8f142d4
3 changed files with 23 additions and 5 deletions

View File

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