提交 7410f9bc 编写于 作者: minghao.wu's avatar minghao.wu

fix: app解析提交数据为空

上级 796815c8
......@@ -420,8 +420,12 @@ public class AnalysisController {
return picaResponse;
}
JSONObject jsonObject = JSONObject.parseObject(content);
content = jsonObject.get("content").toString();
try {
JSONObject jsonObject = JSONObject.parseObject(content);
content = jsonObject.get("content").toString();
} catch (Exception e) {
System.out.println("parse error: " + content);
}
/**
* 如果判断检测的数据中有垃圾 直接返回
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册