|
@@ -322,8 +322,7 @@ public class ProductScrmController extends AppBaseController {
|
|
|
@ApiOperation("获取商品购物车数量")
|
|
@ApiOperation("获取商品购物车数量")
|
|
|
@GetMapping("/getCartCount")
|
|
@GetMapping("/getCartCount")
|
|
|
public R getCartCount(FsStoreCartCountParam param){
|
|
public R getCartCount(FsStoreCartCountParam param){
|
|
|
- param.setUserId(Long.parseLong(getUserId()));
|
|
|
|
|
- Integer count=cartService.selectFsStoreCartCount(param);
|
|
|
|
|
|
|
+ Integer count=cartService.selectFsStoreCartCountByUserId(Long.parseLong(getUserId()));
|
|
|
return R.ok().put("data", count);
|
|
return R.ok().put("data", count);
|
|
|
}
|
|
}
|
|
|
|
|
|