fix: 修复字典管理中文乱码问题

- 配置 HTTP 响应编码为 UTF-8
- 修复数据库中字典类型 remark 字段乱码数据
This commit is contained in:
神码-方晓辉 2026-02-02 14:53:20 +08:00
parent 7753ddbfbd
commit c577c74b3e
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,10 @@ server:
port: 8080 port: 8080
servlet: servlet:
context-path: / context-path: /
encoding:
charset: UTF-8
enabled: true
force: true
spring: spring:
application: application:

View File

@ -325,4 +325,5 @@ public class SysDictController extends BaseController {
} }
return AjaxResult.success("删除成功"); return AjaxResult.success("删除成功");
} }
} }