a56a404a 刘嘉

菠萝派接口-发货,获取地址修改

1 个父辈 8d2de444
......@@ -76,7 +76,11 @@ public class PineappleSendBizServiceImpl extends AbstractBizService<PineappleSen
params.put("province",str[0]);
params.put("city", str[1]);
params.put("area",str[2]);
params.put("address",str[0]+"-"+str[1]+"-"+str[2]+"-"+str[3]);
StringBuffer address = new StringBuffer();
for(int i = 3;i<str.length;i++){
address.append(str[i]);
}
params.put("address",str[0]+"-"+str[1]+"-"+str[2]+"-"+address);
}else{
log.error(String.format("订单号:%s,地址不符合要求:%s,请求method:%s,appket:%s",callRequest.getBizModel().getPlatOrderNo(),callRequest.getBizModel().getSenderAddress(),callRequest.getRequest().getMethod(),callRequest.getRequest().getAppkey()));
throw new BizException(String.format("订单号:%s,地址不符合要求:%s,请求method:%s,appket:%s",callRequest.getBizModel().getPlatOrderNo(),callRequest.getBizModel().getSenderAddress(),callRequest.getRequest().getMethod(),callRequest.getRequest().getAppkey()));
......