Authored by tanling

fix

... ... @@ -41,7 +41,7 @@ public class SendPromotionMessageImpl extends AbstractSendMessage implements ISe
public SendMessageRspBo assistCouponSend(String uid, int couponTime) {
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(PromotionScenes.ASSSIT_COUPON_SEND, String.valueOf(System.currentTimeMillis()), uid);
messageCenterCommonEvent.putInParams("couponTime", DateUtils.long2DateStr(couponTime, "yyyy-MM-dd HH:mm" ));
messageCenterCommonEvent.putInParams("couponTime", DateUtils.long2DateStr(couponTime * 1000l, "yyyy-MM-dd HH:mm" ));
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
return new SendMessageRspBo(200, "SUCCESS");
... ...
... ... @@ -39,7 +39,7 @@ public class SendUserMessageImpl extends AbstractSendMessage implements ISendUse
public SendMessageRspBo assistStart(String uid, String assistId, int startTime) {
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.ASSIST_START, String.valueOf(System.currentTimeMillis()), uid);
messageCenterCommonEvent.putInParams("startTime", DateUtils.long2DateStr(Long.parseLong(String.valueOf(startTime)), "yyyy-MM-dd HH:mm"));
messageCenterCommonEvent.putInParams("startTime", DateUtils.long2DateStr(startTime * 1000l, "yyyy-MM-dd HH:mm"));
messageCenterCommonEvent.putInParams("assistId", assistId);
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
return new SendMessageRspBo(200, "SUCCESS");
... ...