心灵空间
This commit is contained in:
@@ -131,6 +131,34 @@ public class ShopProductController {
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
@RequestMapping("/bindProductAndPsycheLabel")
|
||||
public R bindProductAndPsycheLabel(@RequestBody Map<String,String> map){
|
||||
String[] productIds = map.get("productId").split(",");
|
||||
Integer labelId = Integer.valueOf(map.get("labelId"));
|
||||
shopProductService.bindProductAndPsycheLabel(productIds,labelId);
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
@RequestMapping("/unbindProductAndPsycheLabel")
|
||||
public R unbindProductAndPsycheLabel(@RequestBody Map<String,Integer> map){
|
||||
shopProductService.unbindProductAndPsycheLabel(map.get("productId"),map.get("labelId"));
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
@RequestMapping("/bindProductAndPsycheMarket")
|
||||
public R bindProductAndPsycheMarket(@RequestBody Map<String,String> map){
|
||||
String[] productIds = map.get("productId").split(",");
|
||||
Integer marketId = Integer.valueOf(map.get("marketId"));
|
||||
shopProductService.bindProductAndPsycheMarket(productIds,marketId);
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
@RequestMapping("/unbindProductAndPsycheMarket")
|
||||
public R unbindProductAndPsycheMarket(@RequestBody Map<String,Integer> map){
|
||||
shopProductService.unbindProductAndPsycheMarket(map.get("productId"),map.get("marketId"));
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
@RequestMapping("/bindProductAndMedicineLabel")
|
||||
public R bindProductAndMedicineLabel(@RequestBody Map<String,String> map){
|
||||
String[] productIds = map.get("productId").split(",");
|
||||
|
||||
Reference in New Issue
Block a user