1e2b5f9b 刘嘉

菠萝派接口-发货接口,地址不按规格直接报错

1 个父辈 48a43dd4
...@@ -69,7 +69,8 @@ public class PineappleSendBizServiceImpl extends AbstractBizService<PineappleSen ...@@ -69,7 +69,8 @@ public class PineappleSendBizServiceImpl extends AbstractBizService<PineappleSen
69 params.put("area",area); 69 params.put("area",area);
70 params.put("address",province+"-"+city+"-"+area+"-"+address); 70 params.put("address",province+"-"+city+"-"+area+"-"+address);
71 }else{ 71 }else{
72 params.put("address",callRequest.getBizModel().getSenderAddress()); 72 log.error(String.format("订单号:%s,地址不符合要求:%s,请求method:%s,appket:%s",callRequest.getBizModel().getPlatOrderNo(),callRequest.getBizModel().getSenderAddress(),callRequest.getRequest().getMethod(),callRequest.getRequest().getAppkey()));
73 throw new BizException(String.format("订单号:%s,地址不符合要求:%s,请求method:%s,appket:%s",callRequest.getBizModel().getPlatOrderNo(),callRequest.getBizModel().getSenderAddress(),callRequest.getRequest().getMethod(),callRequest.getRequest().getAppkey()));
73 } 74 }
74 } 75 }
75 params.put("expressName",callRequest.getBizModel().getLogisticName()); 76 params.put("expressName",callRequest.getBizModel().getLogisticName());
......