Commit a85d88b1 authored by Junling Bu's avatar Junling Bu
Browse files

feat[litemall-wx-api]: 账号不存在,返回合适的报错信息

parent 5153beeb
......@@ -79,7 +79,7 @@ public class WxAuthController {
if (userList.size() > 1) {
return ResponseUtil.serious();
} else if (userList.size() == 0) {
return ResponseUtil.badArgumentValue();
return ResponseUtil.fail(AUTH_INVALID_ACCOUNT, "账号不存在");
} else {
user = userList.get(0);
}
......
Supports Markdown
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