瀏覽代碼

停止DSP信息

tags/v1.1.0
qiujinyang 2 年之前
父節點
當前提交
d024340caa
共有 1 個檔案被更改,包括 6 行新增3 行删除
  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 查看文件

@@ -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);
}

Loading…
取消
儲存