|
@@ -75,17 +75,17 @@ public class OfflineShopMessageImpl extends AbstractSendMessage implements IOffl |
|
@@ -75,17 +75,17 @@ public class OfflineShopMessageImpl extends AbstractSendMessage implements IOffl |
75
|
|
75
|
|
76
|
/**
|
76
|
/**
|
77
|
* 排队成功通知
|
77
|
* 排队成功通知
|
78
|
- * @param uids
|
78
|
+ * @param uid
|
79
|
* @param activityName
|
79
|
* @param activityName
|
80
|
* @param queueTimeStr
|
80
|
* @param queueTimeStr
|
81
|
* @param registerMobile
|
81
|
* @param registerMobile
|
82
|
* @param activityId
|
82
|
* @param activityId
|
83
|
* @return
|
83
|
* @return
|
84
|
*/
|
84
|
*/
|
85
|
- public SendMessageRspBo queueSuccess(List<String> uids, String activityName, String queueTimeStr, String registerMobile, String activityId) {
|
85
|
+ public SendMessageRspBo queueSuccess(String uid, String activityName, String queueTimeStr, String registerMobile, String activityId) {
|
86
|
// 指定线下店小程序
|
86
|
// 指定线下店小程序
|
87
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(OfflineShopScenes.LIMIT_QUEUE_SUCCESS,
|
87
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(OfflineShopScenes.LIMIT_QUEUE_SUCCESS,
|
88
|
- String.valueOf(System.currentTimeMillis()), PublicNumberConstants.OFF_SHOP_MINIPROGRAM, uids);
|
88
|
+ String.valueOf(System.currentTimeMillis()), PublicNumberConstants.OFF_SHOP_MINIPROGRAM, uid);
|
89
|
|
89
|
|
90
|
messageCenterCommonEvent.putInParams("activityName", activityName);
|
90
|
messageCenterCommonEvent.putInParams("activityName", activityName);
|
91
|
messageCenterCommonEvent.putInParams("queueTimeStr", queueTimeStr);
|
91
|
messageCenterCommonEvent.putInParams("queueTimeStr", queueTimeStr);
|
|
@@ -106,7 +106,7 @@ public class OfflineShopMessageImpl extends AbstractSendMessage implements IOffl |
|
@@ -106,7 +106,7 @@ public class OfflineShopMessageImpl extends AbstractSendMessage implements IOffl |
106
|
* @return
|
106
|
* @return
|
107
|
*/
|
107
|
*/
|
108
|
@Override
|
108
|
@Override
|
109
|
- public SendMessageRspBo serviceDue(String uids, String brandName, int expireCouponNum, String couponName, int expireTime) {
|
109
|
+ public SendMessageRspBo serviceDue(String uids, String brandName, int expireCouponNum, String couponName, String expireTime) {
|
110
|
// 指定线下店公众号
|
110
|
// 指定线下店公众号
|
111
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEventPublicCode(OfflineShopScenes.COUPON_SERVICE_DUE,
|
111
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEventPublicCode(OfflineShopScenes.COUPON_SERVICE_DUE,
|
112
|
String.valueOf(System.currentTimeMillis()), PublicNumberConstants.OFF_SHOP_SERVICE, uids);
|
112
|
String.valueOf(System.currentTimeMillis()), PublicNumberConstants.OFF_SHOP_SERVICE, uids);
|
|
@@ -114,7 +114,7 @@ public class OfflineShopMessageImpl extends AbstractSendMessage implements IOffl |
|
@@ -114,7 +114,7 @@ public class OfflineShopMessageImpl extends AbstractSendMessage implements IOffl |
114
|
messageCenterCommonEvent.putInParams("expireCouponNum", expireCouponNum);
|
114
|
messageCenterCommonEvent.putInParams("expireCouponNum", expireCouponNum);
|
115
|
messageCenterCommonEvent.putInParams("brandName", brandName);
|
115
|
messageCenterCommonEvent.putInParams("brandName", brandName);
|
116
|
messageCenterCommonEvent.putInParams("couponName", couponName);
|
116
|
messageCenterCommonEvent.putInParams("couponName", couponName);
|
117
|
- messageCenterCommonEvent.putInParams("expireTime", DateUtils.long2DateStr(expireTime * 1000l, DateUtils.dateFormat));
|
117
|
+ messageCenterCommonEvent.putInParams("expireTime", expireTime);
|
118
|
|
118
|
|
119
|
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
|
119
|
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
|
120
|
return new SendMessageRspBo(200, "SUCCESS");
|
120
|
return new SendMessageRspBo(200, "SUCCESS");
|