Authored by Amos_sdy

修改场景名称,上灰度不影响原场景

... ... @@ -21,6 +21,10 @@ public class SendScenes {
// 退货审核通过,订购人注册手机号与收货人不一致,仅通过手机号发短信
public static final String REFUND_GOODS_ONLY_SMS = "REFUND_GOODS_ONLY_SMS";
public static final String ORDER_SEND_OUT_PUSH_SMS = "ORDER_SEND_OUT_PUSH_SMS";
public static final String EXCHANGE_GOODS_PUSH_SMS = "EXCHANGE_GOODS_PUSH_SMS";
public static final String REFUND_GOODS_PUSH_SMS = "REFUND_GOODS_PUSH_SMS";
// 用户升级
public static final String MEMBERSHIP_UPGRADE = "MEMBERSHIP_UPGRADE";
... ...
... ... @@ -74,10 +74,10 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr
MessageCenterCommonEvent messageCenterCommonEvent = new MessageCenterCommonEvent();
if (type == 1) {
// 退货
messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.REFUND_GOODS_VERIFY_PASS, orderCode, uid);
messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.REFUND_GOODS_PUSH_SMS, orderCode, uid);
} else if (type == 2) {
// 换货
messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.EXCHANGE_GOODS_VERIFY_PASS, orderCode, uid);
messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.EXCHANGE_GOODS_PUSH_SMS, orderCode, uid);
}
messageCenterCommonEvent.putInParams("orderCode", orderCode);
messageCenterCommonEvent.putInParams("uName", uName);
... ... @@ -125,7 +125,7 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr
@Override
public SendMessageRspBo orderSendOutPush(String uid, String uName, String orderCode, String companyName, String expressNum, String arriveDate) {
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.ORDER_SEND_OUT, orderCode, uid);
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.ORDER_SEND_OUT_PUSH_SMS, orderCode, uid);
messageCenterCommonEvent.putInParams("orderCode", orderCode);
messageCenterCommonEvent.putInParams("companyName", companyName);
messageCenterCommonEvent.putInParams("expressNum", expressNum);
... ...