|
@@ -73,6 +73,11 @@ public class ClientUserCouponController extends BaseController {
|
|
*/
|
|
*/
|
|
private MemberService memberService;
|
|
private MemberService memberService;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 店铺接口
|
|
|
|
+ */
|
|
|
|
+ private StoreService storeService;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 查询会员卡券详情
|
|
* 查询会员卡券详情
|
|
*
|
|
*
|
|
@@ -172,6 +177,10 @@ public class ClientUserCouponController extends BaseController {
|
|
result.setStatus(userCoupon.getStatus());
|
|
result.setStatus(userCoupon.getStatus());
|
|
result.setIsGive(couponInfo.getIsGive());
|
|
result.setIsGive(couponInfo.getIsGive());
|
|
|
|
|
|
|
|
+ // 适用店铺
|
|
|
|
+ String storeNames = storeService.getStoreNames(couponInfo.getStoreIds());
|
|
|
|
+ result.setStoreNames(storeNames);
|
|
|
|
+
|
|
// 如果是计次卡,获取核销列表
|
|
// 如果是计次卡,获取核销列表
|
|
if (couponInfo.getType().equals(CouponTypeEnum.TIMER.getKey())) {
|
|
if (couponInfo.getType().equals(CouponTypeEnum.TIMER.getKey())) {
|
|
if (userCouponId <= 0 && StringUtil.isNotEmpty(userCouponCode)) {
|
|
if (userCouponId <= 0 && StringUtil.isNotEmpty(userCouponCode)) {
|