Authored by Amos_sdy

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

... ... @@ -38,4 +38,7 @@ public class SendScenes {
// 市场通用场景(只需提供手机号和发送的内容)
public static final String GENERAL_SCENE = "GENERAL_SCENE";
// 退换货订单未填写快递单,短信提醒
public static final String REFUND_EXCHANGE_GOODS_CANCEL = "REFUND_EXCHANGE_GOODS_CANCEL";
}
... ...
... ... @@ -139,4 +139,17 @@ public interface ISendOrderMessage {
* @return
*/
public SendMessageRspBo sendShopsOrderInvoiceOffline(String mobile, String userName, String orderCode, String link);
/**
*
* Description: 退换货订单未填写快递单,短信提醒<br>
*
* @author amos.shan<br>
* @taskId <br>
* @param uid
* @param uName
* @param orderCode
* @return <br>
*/
public SendMessageRspBo exchangeRefundCancel(String uid, String uName, String orderCode);
}
... ...
... ... @@ -175,4 +175,14 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr
return new SendMessageRspBo(200,"SUCCESS");
}
@Override
public SendMessageRspBo exchangeRefundCancel(String uid, String uName, String orderCode) {
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.REFUND_EXCHANGE_GOODS_CANCEL, orderCode, uid);
messageCenterCommonEvent.putInParams("orderCode", orderCode);
messageCenterCommonEvent.putInParams("uName", uName);
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
return new SendMessageRspBo(200, "SUCCESS");
}
}
... ...