Commit fb54c6ba by dingkai

Merge branch 'feature/1.9.17-Exception-20200325-dingkai' into qa

parents dc8c73cb bb0af414
...@@ -475,7 +475,11 @@ public class OrderSdkAdapter { ...@@ -475,7 +475,11 @@ public class OrderSdkAdapter {
CreateOrderResponse response = new CreateOrderResponse(); CreateOrderResponse response = new CreateOrderResponse();
response.setErrcode(Integer.parseInt(result.getCode())); response.setErrcode(Integer.parseInt(result.getCode()));
response.setErrmsg(result.getMessage()); response.setErrmsg(result.getMessage());
if (result.getResult().equals(new OrderInfoReqs())) { /**
* 为什么做这样的判断result.getResult().equals(new OrderInfoReqs())?
* 我猜是因为基础服务异常返回的时候以前result返回了{}对象
*/
if (result.getResult() == null || result.getResult().equals(new OrderInfoReqs())) {
return response; return response;
} }
......
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