Browse Source

无法调用到dsp的异常问题日志

tags/v1.1.0
qiujinyang 2 years ago
parent
commit
7cbfa12369
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/QuestionServiceImpl.java
  2. +2
    -1
      tuoheng-common/src/main/java/com/tuoheng/common/utils/HttpUtils.java

+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/QuestionServiceImpl.java View File

}else{ }else{
sum+=resultMap.get(QuestionStatusEnum.NEGLECT.name().toLowerCase()); sum+=resultMap.get(QuestionStatusEnum.NEGLECT.name().toLowerCase());
} }
resultMap.remove(QuestionStatusEnum.NEGLECT.name().toLowerCase());
resultMap.put(QuestionStatusEnum.CONFIRM.name().toLowerCase(),sum); resultMap.put(QuestionStatusEnum.CONFIRM.name().toLowerCase(),sum);


if(!resultMap.containsKey(QuestionStatusEnum.NOTREVIEWED.name().toLowerCase())){ if(!resultMap.containsKey(QuestionStatusEnum.NOTREVIEWED.name().toLowerCase())){

+ 2
- 1
tuoheng-common/src/main/java/com/tuoheng/common/utils/HttpUtils.java View File

result.append(line).append("\n"); result.append(line).append("\n");
} }
connection.disconnect(); connection.disconnect();
log.info(result.toString());
return result.toString(); return result.toString();
} catch (Exception e) { } catch (Exception e) {
log.error("post请求失败");
log.error("post请求失败,{}",e.getMessage());
return "post请求失败!"; return "post请求失败!";
} }
} }

Loading…
Cancel
Save