...
|
...
|
@@ -19,18 +19,20 @@ public class SendPromotionMessageImpl extends AbstractSendMessage implements ISe |
|
|
private MessageCenterMqHandler messageCenterMqHandler;
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo inviteCouponWait(String uid, String orderCode, String reward) {
|
|
|
public SendMessageRspBo inviteCouponWait(String uid, String orderCode, String reward, String firstOrderUid) {
|
|
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(PromotionScenes.INVITE_COUPON_WAIT, orderCode, uid);
|
|
|
messageCenterCommonEvent.putInParams("amount", reward);
|
|
|
messageCenterCommonEvent.putInParams("firstOrderUid", firstOrderUid);
|
|
|
|
|
|
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo inviteCouponSend(String uid, String orderCode, String reward) {
|
|
|
public SendMessageRspBo inviteCouponSend(String uid, String orderCode, String reward, String firstOrderUid) {
|
|
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(PromotionScenes.INVITE_COUPON_SEND, orderCode, uid);
|
|
|
messageCenterCommonEvent.putInParams("amount", reward);
|
|
|
messageCenterCommonEvent.putInParams("firstOrderUid", firstOrderUid);
|
|
|
|
|
|
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
...
|
...
|
|