mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 18:26:38 +08:00
commit
c80e9b0df4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user