mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 18:26:38 +08:00
adding sms
This commit is contained in:
parent
a7c4e6e6ca
commit
c6fc8e3b2b
@ -130,11 +130,11 @@ public class GoodController {
|
|||||||
|
|
||||||
@ApiOperation(value = "删除购物车信息", notes = "删除购物车信息")
|
@ApiOperation(value = "删除购物车信息", notes = "删除购物车信息")
|
||||||
@PostMapping("royalcanin/cancelCartProductInfo")
|
@PostMapping("royalcanin/cancelCartProductInfo")
|
||||||
public ResponseDTO<String> cancelCartProductInfo(String memberId,String productCode){
|
public ResponseDTO<String> cancelCartProductInfo(String memberId,String[] productCode){
|
||||||
if (cartService.cancelProduct(memberId,productCode)>0)
|
for (int i = 0 ;i < productCode.length;i++) {
|
||||||
|
cartService.cancelProduct(memberId,productCode[i]);
|
||||||
|
}
|
||||||
return ResponseDTO.succ();
|
return ResponseDTO.succ();
|
||||||
else
|
|
||||||
return ResponseDTO.wrap(OrderResponseCodeConst.CANCEL_FAIL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user