菠萝派接口-发货接口,地址不按规格直接报错
正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
... | @@ -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()); | ... | ... |
-
请 注册 或 登录 后发表评论