...
|
...
|
@@ -52,6 +52,24 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr |
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo exchangeGoodsVerifyPassSms(String mobile, String orderCode, String uName, int type) {
|
|
|
MessageCenterCommonEvent messageCenterCommonEvent = new MessageCenterCommonEvent();
|
|
|
if (type == 1) {
|
|
|
// 退货
|
|
|
messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.REFUND_GOODS_VERIFY_PASS, orderCode, "");
|
|
|
} else if (type == 2) {
|
|
|
// 换货
|
|
|
messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.EXCHANGE_GOODS_VERIFY_PASS, orderCode, "");
|
|
|
}
|
|
|
messageCenterCommonEvent.putInParams("mobile", mobile);
|
|
|
messageCenterCommonEvent.putInParams("orderCode", orderCode);
|
|
|
messageCenterCommonEvent.putInParams("uName", uName);
|
|
|
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
|
|
|
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo refundExpectReach(String uid, String orderCode, String payType, int refundId) {
|
|
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.REFUND_EXPECT_REACH,orderCode,uid);
|
|
|
messageCenterCommonEvent.putInParams("orderCode", orderCode);
|
...
|
...
|
@@ -87,6 +105,15 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr |
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo orderSendOutPush(String uid, String orderCode) {
|
|
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.ORDER_SEND_OUT, orderCode, uid);
|
|
|
messageCenterCommonEvent.putInParams("orderCode", orderCode);
|
|
|
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
|
|
|
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo sendShopsOrderInvoiceOnline(String mobile, String userName, String orderCode, String companyName, String expressNum, String link) {
|
|
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.SHOPS_ORDER_INVOICE_ONLINE,orderCode,"");
|
|
|
messageCenterCommonEvent.putInParams("orderCode", orderCode);
|
...
|
...
|
|