...
|
...
|
@@ -75,17 +75,17 @@ public class OfflineShopMessageImpl extends AbstractSendMessage implements IOffl |
|
|
|
|
|
/**
|
|
|
* 排队成功通知
|
|
|
* @param uids
|
|
|
* @param uid
|
|
|
* @param activityName
|
|
|
* @param queueTimeStr
|
|
|
* @param registerMobile
|
|
|
* @param activityId
|
|
|
* @return
|
|
|
*/
|
|
|
public SendMessageRspBo queueSuccess(List<String> uids, String activityName, String queueTimeStr, String registerMobile, String activityId) {
|
|
|
public SendMessageRspBo queueSuccess(String uid, String activityName, String queueTimeStr, String registerMobile, String activityId) {
|
|
|
// 指定线下店小程序
|
|
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(OfflineShopScenes.LIMIT_QUEUE_SUCCESS,
|
|
|
String.valueOf(System.currentTimeMillis()), PublicNumberConstants.OFF_SHOP_MINIPROGRAM, uids);
|
|
|
String.valueOf(System.currentTimeMillis()), PublicNumberConstants.OFF_SHOP_MINIPROGRAM, uid);
|
|
|
|
|
|
messageCenterCommonEvent.putInParams("activityName", activityName);
|
|
|
messageCenterCommonEvent.putInParams("queueTimeStr", queueTimeStr);
|
...
|
...
|
@@ -106,7 +106,7 @@ public class OfflineShopMessageImpl extends AbstractSendMessage implements IOffl |
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
public SendMessageRspBo serviceDue(String uids, String brandName, int expireCouponNum, String couponName, int expireTime) {
|
|
|
public SendMessageRspBo serviceDue(String uids, String brandName, int expireCouponNum, String couponName, String expireTime) {
|
|
|
// 指定线下店公众号
|
|
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEventPublicCode(OfflineShopScenes.COUPON_SERVICE_DUE,
|
|
|
String.valueOf(System.currentTimeMillis()), PublicNumberConstants.OFF_SHOP_SERVICE, uids);
|
...
|
...
|
@@ -114,7 +114,7 @@ public class OfflineShopMessageImpl extends AbstractSendMessage implements IOffl |
|
|
messageCenterCommonEvent.putInParams("expireCouponNum", expireCouponNum);
|
|
|
messageCenterCommonEvent.putInParams("brandName", brandName);
|
|
|
messageCenterCommonEvent.putInParams("couponName", couponName);
|
|
|
messageCenterCommonEvent.putInParams("expireTime", DateUtils.long2DateStr(expireTime * 1000l, DateUtils.dateFormat));
|
|
|
messageCenterCommonEvent.putInParams("expireTime", expireTime);
|
|
|
|
|
|
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
...
|
...
|
|