!20 2022-1-17 Carl

Merge pull request !20 from Admin/sit-Carl-V3
This commit is contained in:
Admin
2022-01-17 06:37:53 +00:00
committed by Gitee

View File

@@ -123,7 +123,8 @@ public class GoodController {
@ApiOperation(value = "查询购物车信息", notes = "查询购物车信息")
@PostMapping("royalcanin/getCartProductInfo")
public List<CartEntity> getCartProductInfo(String memberId){
public List<CartEntity> getCartProductInfo(HttpServletRequest request){
String memberId = SmartJWTUtil.decodeToken(request.getHeader(TOKEN_NAME));
return cartService.getAllProductbyMember(memberId);
}