浏览代码

停止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);
}

正在加载...
取消
保存