优化逻辑
This commit is contained in:
parent
76009fda0e
commit
213cb7b010
|
@ -103,7 +103,7 @@ public class SysUserController {
|
|||
public Result<String> save(@RequestBody @Valid SysUserVO vo) {
|
||||
// 新增密码不能为空
|
||||
if (StrUtil.isBlank(vo.getPassword())) {
|
||||
Result.error("密码不能为空");
|
||||
return Result.error("密码不能为空");
|
||||
}
|
||||
|
||||
// 密码加密
|
||||
|
|
Loading…
Reference in New Issue
Block a user