会员码接口
This commit is contained in:
@@ -31,7 +31,6 @@ public class UShopUserController {
|
||||
return CzgResult.success(shopUserService.getShopUserInfo(StpKit.USER.getShopId(), StpKit.USER.getLoginIdAsLong()));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取当前用户所有店铺会员信息
|
||||
* @return 店铺会员信息列表
|
||||
@@ -41,4 +40,13 @@ public class UShopUserController {
|
||||
return CzgResult.success(shopUserService.vipCard(StpKit.USER.getLoginIdAsLong()));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取动态会员码
|
||||
* @return 店铺会员信息列表
|
||||
*/
|
||||
@GetMapping("/code")
|
||||
public CzgResult<String> code() {
|
||||
return CzgResult.success(shopUserService.getCode(StpKit.USER.getLoginIdAsLong(), StpKit.USER.getShopId()));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user