Authored by Amos_sdy

新增发短信场景,未填写快递单号,退换货取消

@@ -38,4 +38,7 @@ public class SendScenes { @@ -38,4 +38,7 @@ public class SendScenes {
38 38
39 // 市场通用场景(只需提供手机号和发送的内容) 39 // 市场通用场景(只需提供手机号和发送的内容)
40 public static final String GENERAL_SCENE = "GENERAL_SCENE"; 40 public static final String GENERAL_SCENE = "GENERAL_SCENE";
  41 +
  42 + // 退换货订单未填写快递单,短信提醒
  43 + public static final String REFUND_EXCHANGE_GOODS_CANCEL = "REFUND_EXCHANGE_GOODS_CANCEL";
41 } 44 }
@@ -139,4 +139,17 @@ public interface ISendOrderMessage { @@ -139,4 +139,17 @@ public interface ISendOrderMessage {
139 * @return 139 * @return
140 */ 140 */
141 public SendMessageRspBo sendShopsOrderInvoiceOffline(String mobile, String userName, String orderCode, String link); 141 public SendMessageRspBo sendShopsOrderInvoiceOffline(String mobile, String userName, String orderCode, String link);
  142 +
  143 + /**
  144 + *
  145 + * Description: 退换货订单未填写快递单,短信提醒<br>
  146 + *
  147 + * @author amos.shan<br>
  148 + * @taskId <br>
  149 + * @param uid
  150 + * @param uName
  151 + * @param orderCode
  152 + * @return <br>
  153 + */
  154 + public SendMessageRspBo exchangeRefundCancel(String uid, String uName, String orderCode);
142 } 155 }
@@ -175,4 +175,14 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr @@ -175,4 +175,14 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr
175 175
176 return new SendMessageRspBo(200,"SUCCESS"); 176 return new SendMessageRspBo(200,"SUCCESS");
177 } 177 }
  178 +
  179 + @Override
  180 + public SendMessageRspBo exchangeRefundCancel(String uid, String uName, String orderCode) {
  181 + MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.REFUND_EXCHANGE_GOODS_CANCEL, orderCode, uid);
  182 + messageCenterCommonEvent.putInParams("orderCode", orderCode);
  183 + messageCenterCommonEvent.putInParams("uName", uName);
  184 + messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
  185 +
  186 + return new SendMessageRspBo(200, "SUCCESS");
  187 + }
178 } 188 }