Authored by Amos_sdy

测试短信场景:SHOPS_ORDER_INVOICE_OFFLINE

... ... @@ -80,7 +80,7 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr
@Override
public SendMessageRspBo sendShopsOrderInvoiceOffline(String mobile, String userName, String orderCode, String link) {
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.SHOPS_ORDER_INVOICE_ONLINE,orderCode,"");
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.SHOPS_ORDER_INVOICE_OFFLINE, orderCode, "");
messageCenterCommonEvent.putInParams("orderCode", orderCode);
messageCenterCommonEvent.putInParams("mobile", mobile);
messageCenterCommonEvent.putInParams("userName", userName);
... ...
... ... @@ -47,6 +47,13 @@ public class TestSendOrderMessage {
@Test
public void sendShopsOrderInvoiceOnline() {
sendOrderMessage.sendShopsOrderInvoiceOnline("20422396", "用户1", "1611776769","顺丰快递", "123456789", "http://www.fapiao.com/dzfp-web/pdf/download?request=xxKRkpBN5sf1ttaZnx.hF-4NNz8-6fnNXKYNOCMnk1L-BF5QZQzyr7U4ursIypqwOlFKbA4o.PfNZjIRBDiZQw__%5EdeeHGjCHhj");
sendOrderMessage.sendShopsOrderInvoiceOnline("18805150624", "用户1", "1611776769", "顺丰快递", "123456789",
"http://www.fapiao.com/dzfp-web/pdf/download?request=xxKRkpBN5sf1ttaZnx.hF-4NNz8-6fnNXKYNOCMnk1L-BF5QZQzyr7U4ursIypqwOlFKbA4o.PfNZjIRBDiZQw__%5EdeeHGjCHhj");
}
@Test
public void sendShopsOrderInvoiceOffline() {
sendOrderMessage.sendShopsOrderInvoiceOffline("18805150624", "用户2", "1611776769",
"http://www.fapiao.com/dzfp-web/pdf/download?request=xxKRkpBN5sf1ttaZnx.hF-4NNz8-6fnNXKYNOCMnk1L-BF5QZQzyr7U4ursIypqwOlFKbA4o.PfNZjIRBDiZQw__%5EdeeHGjCHhj");
}
}
... ...