From 922a118ac36d64fd3d18a6d86e279800c92a5ccd Mon Sep 17 00:00:00 2001 From: fengjin <1435304038@qq.com> Date: 星期三, 19 十月 2022 11:14:44 +0800 Subject: [PATCH] 1.修改自动分配代码逻辑2.修改BUG --- flower_city/src/main/java/com/dg/core/controller/UserController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flower_city/src/main/java/com/dg/core/controller/UserController.java b/flower_city/src/main/java/com/dg/core/controller/UserController.java index d83f522..76755b1 100644 --- a/flower_city/src/main/java/com/dg/core/controller/UserController.java +++ b/flower_city/src/main/java/com/dg/core/controller/UserController.java @@ -243,9 +243,9 @@ @Authorization public ResultData updateConfig(@RequestBody SysUser config,@CurrentUser SysUser sys) { - if(config.getUserId()==null) + if(config.getId()==null) { - return error("userId不能为空"); + return error("Id不能为空"); } if(StringUtils.isEmpty(config.getLoginName())) -- Gitblit v1.7.1