From b1a8a3b86fb2ef748ecc0f60694b837df0a4b62e Mon Sep 17 00:00:00 2001 From: water_xu Date: Thu, 5 Sep 2024 14:03:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=83=E7=94=A8=E9=98=BF=E9=87=8CJsonUtil=20?= =?UTF-8?q?=E5=87=BA=E4=BA=86=E4=B8=AAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/zcloud/controller/system/UsersController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zcloud/controller/system/UsersController.java b/src/main/java/com/zcloud/controller/system/UsersController.java index 546cb06a..d3c1c627 100644 --- a/src/main/java/com/zcloud/controller/system/UsersController.java +++ b/src/main/java/com/zcloud/controller/system/UsersController.java @@ -803,7 +803,7 @@ public class UsersController extends BaseController { usersService.editUserFuns(pd); //执行修改 map.put("result", errInfo); map.put("code", "0"); - map.put("syncInfo", JSONUtils.toJSONString(usersService.findById(pd))); + map.put("syncInfo", JSONUtil.toJsonStr(usersService.findById(pd))); return map; } @@ -835,7 +835,7 @@ public class UsersController extends BaseController { FHLOG.save(Jurisdiction.getUsername(), "从个人资料中修改" + pd.getString("USERNAME") + "的资料"); //记录日志 map.put("result", errInfo); map.put("code", "0"); - map.put("syncInfo", JSONUtils.toJSONString(usersService.findById(pd))); + map.put("syncInfo", JSONUtil.toJsonStr(usersService.findById(pd))); return map; }