ソースを参照

fix:修复python报告解析接口报错问题

wangzaijun 6 ヶ月 前
コミット
c3c69ee80a

+ 1 - 1
service-daq/src/main/java/com/simuwang/daq/components/report/parser/py/AbstractPyReportParser.java

@@ -62,7 +62,7 @@ public abstract class AbstractPyReportParser<T extends ReportData> implements Re
                 param.put("trust_name", info.getCompanyName());
             }
         }
-        String body = HttpUtil.post(pyBaseUrl + api, JSONUtil.toJsonStr(params));
+        String body = HttpUtil.post(pyBaseUrl + api, JSONUtil.toJsonStr(param));
         ParseResult<T> result = PythonReportConverter.convert(JSONUtil.parseObj(body), reportType);
         if (result.getStatus() == null) {
             throw new ReportParseException(ReportParseStatus.PARSE_FAIL, "资源文件不存在");