Pārlūkot izejas kodu

停止DSP信息

tags/v1.1.0
qiujinyang pirms 2 gadiem
vecāks
revīzija
d024340caa
1 mainītis faili ar 6 papildinājumiem un 3 dzēšanām
  1. +6
    -3
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/MissionServiceImpl.java

+ 6
- 3
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/MissionServiceImpl.java Parādīt failu

@@ -174,9 +174,12 @@ public class MissionServiceImpl extends BaseServiceImpl<ThMissionMapper, ThMissi
jsonObject.put("requestId",thMission.getRequestId());
JSONObject responseJson = dspService.serviceStopApplication(jsonObject);
if(responseJson.getIntValue("code") == 0){
String requestId = responseJson.getJSONObject("data").getString("requestId");
log.info("dsp实时调用响应requestId:{}",requestId);

if(responseJson.containsKey("data") && ObjectUtil.isNotEmpty(responseJson.get("data"))) {
String requestId = responseJson.getJSONObject("data").getString("requestId");
log.info("dsp实时调用响应requestId:{}", requestId);
}else{
log.info("dsp实时调用响应:{}",responseJson);
}
}else {
log.error("dsp实时调用失败:{}", responseJson);
}

Notiek ielāde…
Atcelt
Saglabāt