Authored by tanling

fix

... ... @@ -10,4 +10,7 @@ public final class PromotionScenes {
//推荐成单奖励已发放
public static final String INVITE_COUPON_SEND = "INVITE_COUPON_SEND";
// 助力活动领券
public static final String ASSSIT_COUPON_SEND = "ASSIST_COUPON_SEND";
}
... ...
... ... @@ -10,4 +10,6 @@ public interface ISendPromotionMessage {
SendMessageRspBo inviteCouponWait(String uid, String orderCode, String reward, String firstOrderUid);
SendMessageRspBo inviteCouponSend(String uid, String orderCode, String reward, String firstOrderUid);
SendMessageRspBo assistCouponSend(String uid, String reward);
}
... ...
... ... @@ -37,4 +37,14 @@ public class SendPromotionMessageImpl extends AbstractSendMessage implements ISe
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
return new SendMessageRspBo(200, "SUCCESS");
}
public SendMessageRspBo assistCouponSend(String uid, String reward) {
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(PromotionScenes.ASSSIT_COUPON_SEND, null, uid);
messageCenterCommonEvent.putInParams("reward", reward);
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
return new SendMessageRspBo(200, "SUCCESS");
}
}
... ...