From 393cf8ee2da5661ad4065c2bdfc674184fd674fd Mon Sep 17 00:00:00 2001 From: gongzhenkun <1658878546@qq.com> Date: Mon, 7 Nov 2022 11:04:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4AI=E6=8E=A5=E5=8F=A3=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E6=97=B6=E7=9A=84data=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/web/controller/api/AppController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 a3f6cc2..5c6f5b5 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 @@ -451,7 +451,7 @@ public class AppController extends BaseController // AI接口异常,需要重置当前记录状态 updateRecordStatus(recordId, "0"); logger.error("AI result exception, msg is {}", e.getMessage()); - return AjaxResult.error("AI result exception, please try again!", data); + return AjaxResult.error("AI result exception, please try again!"); } if (StringUtils.isEmpty(result)) { // AI接口非正常返回,需要重置当前记录状态 @@ -729,7 +729,7 @@ public class AppController extends BaseController } if (null != imageStr && !"".equals(imageStr)) { // 将base64转为图片存在服务器,并将返回值置空 - logger.info("image name is '{}', image str is '{}'", entry.getKey(), imageStr); + logger.info("image name is '{}', image str is '{}'", entry.getKey(), imageStr.substring(0, 20)); String path = FileUtils.GenerateImage(imageStr, entry.getKey()); TImage tImage = new TImage(); tImage.setName(entry.getKey());