修改用户登录提示用户登录错误

This commit is contained in:
wanglei 2025-11-19 17:49:19 +08:00
parent ef5a02baea
commit 919e5812f9

View File

@ -105,7 +105,7 @@ local function authorizatePassword(args)
-- 2.验证用户名和密码应用程序id和应用程序密钥
local code, res = oauthDao.authenticateUserPasswd(args.username, args.password)
if code ~= 0 or res == nil then
resp:response(status.ACCOUNT_NOT_EXIST)
resp:response(status.USER_LOGIN_ERROR)
return
end
print("验证用户名和密码: ", args.username)