From 0dafe6d783ed71b3dadda8367c63449535c6a26c Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期三, 16 四月 2025 10:27:21 +0800 Subject: [PATCH] #修改 1. 菜单中英文转换问题修复 --- rsf-server/src/main/java/com/vincent/rsf/server/common/exception/GlobalExceptionHandler.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/common/exception/GlobalExceptionHandler.java b/rsf-server/src/main/java/com/vincent/rsf/server/common/exception/GlobalExceptionHandler.java index 8ea1e24..1c1bbc5 100644 --- a/rsf-server/src/main/java/com/vincent/rsf/server/common/exception/GlobalExceptionHandler.java +++ b/rsf-server/src/main/java/com/vincent/rsf/server/common/exception/GlobalExceptionHandler.java @@ -44,7 +44,7 @@ @ExceptionHandler(BusinessException.class) public R businessExceptionHandler(BusinessException e, HttpServletResponse response) { CommonUtil.addCrossHeaders(response); - return R.error(e.getMessage()); + return R.parse(e.getMessage()); } @ResponseBody -- Gitblit v1.9.1