会员卡接口

This commit is contained in:
张松
2025-02-15 16:51:07 +08:00
parent 2e6fc7c4b3
commit 3315bfbb28
6 changed files with 12 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
package com.czg.controller.user;
import com.czg.account.dto.shopuser.ShopUserVipCardDTO;
import com.czg.account.entity.ShopUser;
import com.czg.account.service.ShopUserService;
import com.czg.resp.CzgResult;
@@ -36,7 +37,7 @@ public class UShopUserController {
* @return 店铺会员信息列表
*/
@GetMapping("/vipCard")
public CzgResult<Page<ShopUser>> list() {
public CzgResult<Page<ShopUserVipCardDTO>> list() {
return CzgResult.success(shopUserService.vipCard(StpKit.USER.getLoginIdAsLong()));
}