|
|
@@ -128,13 +128,13 @@ public class BadReviewAppealJob {
|
|
|
log.info("差评申述置信度分析提交成功, 返回: {}", analyzeBody);
|
|
|
|
|
|
JSONObject analyzeJson = JSONObject.parseObject(analyzeBody);
|
|
|
- JSONObject details = analyzeJson.getJSONObject("details");
|
|
|
- String analysisStatus = details.get("analysis_status").toString();
|
|
|
- if (analysisStatus.equals("pending")) {
|
|
|
- log.error("差评申述置信度分析尚未完成");
|
|
|
- R.fail("差评申述置信度分析尚未完成");
|
|
|
- continue;
|
|
|
- }
|
|
|
+// JSONObject details = analyzeJson.getJSONObject("details");
|
|
|
+// String analysisStatus = details.get("analysis_status").toString();
|
|
|
+// if (analysisStatus.equals("pending")) {
|
|
|
+// log.error("差评申述置信度分析尚未完成");
|
|
|
+// R.fail("差评申述置信度分析尚未完成");
|
|
|
+// continue;
|
|
|
+// }
|
|
|
JSONObject dataJsonObj = analyzeJson.getJSONObject("data");
|
|
|
|
|
|
if (dataJsonObj == null) {
|
|
|
@@ -144,7 +144,7 @@ public class BadReviewAppealJob {
|
|
|
}
|
|
|
|
|
|
// 获取record_id用于后续查询
|
|
|
- Integer recordId = dataJsonObj.getInteger("record_id");
|
|
|
+ Integer recordId = dataJsonObj.getInteger("id");
|
|
|
if (recordId == null) {
|
|
|
log.error("差评申述置信度分析返回record_id为空");
|
|
|
R.fail("差评申述置信度分析返回record_id为空");
|