From ccb39e91f2feaeafa2d89440c84d14db22bf856f Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 22 五月 2025 10:47:01 +0800 Subject: [PATCH] FastJson的Configuration中去掉不推荐应用的JSONWriter.Feature.MapSortField(对map进行排序) --- pms-parent/pms-common/src/main/java/com/dy/common/webUtil/BaseResponseUtils.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pms-parent/pms-common/src/main/java/com/dy/common/webUtil/BaseResponseUtils.java b/pms-parent/pms-common/src/main/java/com/dy/common/webUtil/BaseResponseUtils.java index 64d0dda..245bb9f 100644 --- a/pms-parent/pms-common/src/main/java/com/dy/common/webUtil/BaseResponseUtils.java +++ b/pms-parent/pms-common/src/main/java/com/dy/common/webUtil/BaseResponseUtils.java @@ -21,11 +21,11 @@ } public static BaseResponse buildToLogin(){ - return buildResult(ResultCodeMsg.RsCode.TOLOGIN_CODE, ResultCodeMsg.RsMsg.TOLOGIN_MESSAGE, null); + return buildResult(ResultCodeMsg.RsCode.TOLOGIN_CODE, ResultCodeMsg.RsMsg.TOLOGIN_MESSAGE, ResultCodeMsg.RsMsg.TOLOGIN_MESSAGE); } public static BaseResponse buildNoPower(){ - return buildResult(ResultCodeMsg.RsCode.NOPOWER_CODE, ResultCodeMsg.RsMsg.NOPOWER_MESSAGE, null); + return buildResult(ResultCodeMsg.RsCode.NOPOWER_CODE, ResultCodeMsg.RsMsg.NOPOWER_MESSAGE, ResultCodeMsg.RsMsg.NOPOWER_MESSAGE); } public static BaseResponse buildException(String message){ -- Gitblit v1.8.0