弃用阿里JsonUtil 出了个bug

dev-9.10-修复中台bug-xuyifeng
water_xu 2024-09-05 14:03:28 +08:00
parent 8e3a6d7615
commit b1a8a3b86f
1 changed files with 2 additions and 2 deletions

View File

@ -803,7 +803,7 @@ public class UsersController extends BaseController {
usersService.editUserFuns(pd); //执行修改 usersService.editUserFuns(pd); //执行修改
map.put("result", errInfo); map.put("result", errInfo);
map.put("code", "0"); map.put("code", "0");
map.put("syncInfo", JSONUtils.toJSONString(usersService.findById(pd))); map.put("syncInfo", JSONUtil.toJsonStr(usersService.findById(pd)));
return map; return map;
} }
@ -835,7 +835,7 @@ public class UsersController extends BaseController {
FHLOG.save(Jurisdiction.getUsername(), "从个人资料中修改" + pd.getString("USERNAME") + "的资料"); //记录日志 FHLOG.save(Jurisdiction.getUsername(), "从个人资料中修改" + pd.getString("USERNAME") + "的资料"); //记录日志
map.put("result", errInfo); map.put("result", errInfo);
map.put("code", "0"); map.put("code", "0");
map.put("syncInfo", JSONUtils.toJSONString(usersService.findById(pd))); map.put("syncInfo", JSONUtil.toJsonStr(usersService.findById(pd)));
return map; return map;
} }