Authored by tanling

fix

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