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());