From 8bf55ad00683f807cb9acb5217cdbc46da9ce112 Mon Sep 17 00:00:00 2001 From: chenfei <18955928961@163.com> Date: Tue, 16 Aug 2022 10:49:36 +0800 Subject: [PATCH] =?UTF-8?q?ai=E8=AF=B7=E6=B1=82=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/web/controller/api/AppController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java index d31ae11..fedc443 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java @@ -333,7 +333,8 @@ public class AppController extends BaseController jsonObject = noBase64Image(JSONObject.parseObject(result)); TRecord tRecord = new TRecord(); tRecord.setId(recordId); - tRecord.setAiResult(result); + tRecord.setAiResult(jsonObject.toJSONString()); + tRecord.setAiResult2(jsonObject.toJSONString()); tRecordService.updateTRecord(tRecord); } return AjaxResult.success(jsonObject);