Ver código fonte

修改立即执行中调用机场平台的接口参数

tags/v1.0.0^2
wanjing 1 ano atrás
pai
commit
262714c312
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/execute/ExecuteInspectionService.java

+ 2
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/execute/ExecuteInspectionService.java Ver arquivo

@@ -116,6 +116,8 @@ public class ExecuteInspectionService {
JSONObject jsonObject = new JSONObject();
jsonObject.put("taskId", inspection.getInspectionLine());
jsonObject.put("requestId", inspection.getId());
jsonObject.put("code", "gs"); // 与机场平台约定好的
jsonObject.put("tenantName", tenant.getName());

String airPortStr = HttpUtils.doSend(url, jsonObject, null, "POST");
if (StringUtils.isEmpty(airPortStr)) {

Carregando…
Cancelar
Salvar