会员支付
现金充值 优惠券实体
This commit is contained in:
@@ -13,6 +13,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* 店铺会员相关
|
||||
*
|
||||
* @author Administrator
|
||||
*/
|
||||
@RestController
|
||||
@@ -24,6 +25,7 @@ public class UShopUserController {
|
||||
/**
|
||||
* 获取当前店铺会员信息
|
||||
* 请求头必须携带shopId, 不携带则会失败
|
||||
*
|
||||
* @return 店铺会员信息
|
||||
*/
|
||||
@GetMapping
|
||||
@@ -33,6 +35,7 @@ public class UShopUserController {
|
||||
|
||||
/**
|
||||
* 获取当前用户所有店铺会员信息
|
||||
*
|
||||
* @return 店铺会员信息列表
|
||||
*/
|
||||
@GetMapping("/vipCard")
|
||||
@@ -42,11 +45,12 @@ public class UShopUserController {
|
||||
|
||||
/**
|
||||
* 获取动态会员码
|
||||
*
|
||||
* @return 店铺会员信息列表
|
||||
*/
|
||||
@GetMapping("/code")
|
||||
public CzgResult<String> code() {
|
||||
return CzgResult.success(shopUserService.getCode(StpKit.USER.getLoginIdAsLong(), StpKit.USER.getShopId()));
|
||||
return shopUserService.getCode(StpKit.USER.getLoginIdAsLong(), StpKit.USER.getShopId());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user