Commit 6e4cae51 by 徐康

异常信息处理

parent b4f939d8
......@@ -2832,8 +2832,11 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
}
orderAddress.setGender(queryReceiveAddressResponse.getData().getSex().toString());
orderAddress.setPhone_no(queryReceiveAddressResponse.getData().getReceiveMobile());
orderAddress.setAddress(queryReceiveAddressResponse.getData().getReceiveAddress());
orderAddress.setDetail(queryReceiveAddressResponse.getData().getDetailAddress());
if(StringUtils.isNotBlank(queryReceiveAddressResponse.getData().getReceiveAddress())) {
JSONObject jsonObject = JSON.parseObject(queryReceiveAddressResponse.getData().getReceiveAddress());
orderAddress.setAddress(jsonObject.getString("officeName"));
orderAddress.setDetail(jsonObject.getString("address"));
}
orderAddress.setLongitude(queryReceiveAddressResponse.getData().getLongitude());
orderAddress.setLatitude(queryReceiveAddressResponse.getData().getLatitude());
orderAddress.setCreatedDate(queryReceiveAddressResponse.getData().getCreateTime());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment