Commit 16dd1024 authored by 周健威's avatar 周健威

Merge branch 'feature-zjw' into dev

parents 3b4cc1d5 2480a1c5
...@@ -94,7 +94,7 @@ public class PublicController { ...@@ -94,7 +94,7 @@ public class PublicController {
public @ResponseBody public @ResponseBody
ObjectRestResponse<AppUserDTO> userDetailByUsername(String name) throws Exception { ObjectRestResponse<AppUserDTO> userDetailByUsername(String name) throws Exception {
AppUserLogin appUserLogin; AppUserLogin appUserLogin;
if (StrUtil.isNotBlank(name)) { if (StrUtil.isBlank(name)) {
throw new BaseException(ResultCode.NOTEXIST_CODE throw new BaseException(ResultCode.NOTEXIST_CODE
, new HashSet<String>() {{add("用户名不存在!");}}); , new HashSet<String>() {{add("用户名不存在!");}});
}else { }else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment