会员卡接口
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user