|
|
@ -70,9 +70,11 @@ public class JiaJinService { |
|
|
|
return; |
|
|
|
} |
|
|
|
//保存请求json
|
|
|
|
if(getListEntity.getList().size()>0){ |
|
|
|
LzResponseLog responseLog = new LzResponseLog(); |
|
|
|
responseLog.setJson(json); |
|
|
|
responseLogService.save(responseLog); |
|
|
|
} |
|
|
|
//解析请求json,并保存订单到数据库
|
|
|
|
for (GetListEntity.OrderEntity orderEntity : getListEntity.getList()) { |
|
|
|
GetListEntity.OtherEntity otherEntity = orderEntity.getOther(); |
|
|
@ -216,6 +218,10 @@ public class JiaJinService { |
|
|
|
String response = requestVo.getRespContext(); |
|
|
|
JSONObject jsonObject = JSONObject.parseObject(response); |
|
|
|
if(jsonObject.getString("code").equals("200")){ |
|
|
|
JSONObject dataObject = jsonObject.getJSONObject("data"); |
|
|
|
if(dataObject==null || !dataObject.getBoolean("success")){ |
|
|
|
status = 3; |
|
|
|
}else { |
|
|
|
//发送量子App更新订单状态
|
|
|
|
String params = "orderNos="+orderNo; |
|
|
|
String signParam = ApiUrlConst.lzyunli + params + ApiUrlConst.lzyunli; |
|
|
@ -230,6 +236,7 @@ public class JiaJinService { |
|
|
|
callbackStatus = 1; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}else { |
|
|
|
status = 3; |
|
|
|
} |
|
|
|