瀏覽代碼

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

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

@@ -176,7 +176,7 @@ public class QuestionServiceImpl extends BaseServiceImpl<QuestionMapper, Questio
}else{
sum+=resultMap.get(QuestionStatusEnum.NEGLECT.name().toLowerCase());
}
resultMap.remove(QuestionStatusEnum.NEGLECT.name().toLowerCase());
resultMap.put(QuestionStatusEnum.CONFIRM.name().toLowerCase(),sum);

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

+ 2
- 1
tuoheng-common/src/main/java/com/tuoheng/common/utils/HttpUtils.java 查看文件

@@ -104,9 +104,10 @@ public class HttpUtils {
result.append(line).append("\n");
}
connection.disconnect();
log.info(result.toString());
return result.toString();
} catch (Exception e) {
log.error("post请求失败");
log.error("post请求失败,{}",e.getMessage());
return "post请求失败!";
}
}

Loading…
取消
儲存