Authored by tanling

测试数据

@@ -461,7 +461,14 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr @@ -461,7 +461,14 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr
461 461
462 462
463 messageCenterCommonEvent.putInParams("productName",productName); 463 messageCenterCommonEvent.putInParams("productName",productName);
464 - messageCenterCommonEvent.putInParams("deliveryType", deliveryType); 464 +
  465 + // 分仓
  466 + if("1".equals(deliveryType)){
  467 + messageCenterCommonEvent.putInParams("remark","分仓订单,暂无物流,您可在24小时后查询详细物流信息。");
  468 + }else{
  469 + messageCenterCommonEvent.putInParams("remark","您的订单已发货,请您耐心等待。点击查看物流详情");
  470 + }
  471 +
465 // 发货时间 472 // 发货时间
466 messageCenterCommonEvent.putInParams("deliveryTime", DateUtils.long2DateStr(deliveryTime, DateUtils.fullDateTimeFormat)); 473 messageCenterCommonEvent.putInParams("deliveryTime", DateUtils.long2DateStr(deliveryTime, DateUtils.fullDateTimeFormat));
467 474
@@ -147,10 +147,11 @@ public class TestSendOrderMessage { @@ -147,10 +147,11 @@ public class TestSendOrderMessage {
147 // } 147 // }
148 // 148 //
149 // //订单取消。微信 149 // //订单取消。微信
150 -// @Test  
151 -// public void orderCancel() {  
152 -// sendOrderMessage.orderCancel("8041612","1764678584","550.65","Diamond 迷彩印花T恤", "南京市嘉陵江东街18号国家广告产业园5栋17楼");  
153 -// } 150 + @Test
  151 + public void orderCancel() {
  152 + sendOrderMessage.orderCancel("8041612","1764678584","550.65","Diamond 迷彩印花T恤", "南京市嘉陵江东街18号国家广告产业园5栋17楼",
  153 + "不喜欢", 1514965493,1 );
  154 + }
154 155
155 //退货审核通过,微信 156 //退货审核通过,微信
156 @Test 157 @Test