菠萝派接口-发货,获取地址修改
正在显示
1 个修改的文件
包含
5 行增加
和
1 行删除
... | @@ -76,7 +76,11 @@ public class PineappleSendBizServiceImpl extends AbstractBizService<PineappleSen | ... | @@ -76,7 +76,11 @@ public class PineappleSendBizServiceImpl extends AbstractBizService<PineappleSen |
76 | params.put("province",str[0]); | 76 | params.put("province",str[0]); |
77 | params.put("city", str[1]); | 77 | params.put("city", str[1]); |
78 | params.put("area",str[2]); | 78 | params.put("area",str[2]); |
79 | params.put("address",str[0]+"-"+str[1]+"-"+str[2]+"-"+str[3]); | 79 | StringBuffer address = new StringBuffer(); |
80 | for(int i = 3;i<str.length;i++){ | ||
81 | address.append(str[i]); | ||
82 | } | ||
83 | params.put("address",str[0]+"-"+str[1]+"-"+str[2]+"-"+address); | ||
80 | }else{ | 84 | }else{ |
81 | log.error(String.format("订单号:%s,地址不符合要求:%s,请求method:%s,appket:%s",callRequest.getBizModel().getPlatOrderNo(),callRequest.getBizModel().getSenderAddress(),callRequest.getRequest().getMethod(),callRequest.getRequest().getAppkey())); | 85 | log.error(String.format("订单号:%s,地址不符合要求:%s,请求method:%s,appket:%s",callRequest.getBizModel().getPlatOrderNo(),callRequest.getBizModel().getSenderAddress(),callRequest.getRequest().getMethod(),callRequest.getRequest().getAppkey())); |
82 | throw new BizException(String.format("订单号:%s,地址不符合要求:%s,请求method:%s,appket:%s",callRequest.getBizModel().getPlatOrderNo(),callRequest.getBizModel().getSenderAddress(),callRequest.getRequest().getMethod(),callRequest.getRequest().getAppkey())); | 86 | throw new BizException(String.format("订单号:%s,地址不符合要求:%s,请求method:%s,appket:%s",callRequest.getBizModel().getPlatOrderNo(),callRequest.getBizModel().getSenderAddress(),callRequest.getRequest().getMethod(),callRequest.getRequest().getAppkey())); | ... | ... |
-
请 注册 或 登录 后发表评论