diff --git a/src/service/oauth/oauth.lua b/src/service/oauth/oauth.lua index 4bfa51a..fd9b84b 100644 --- a/src/service/oauth/oauth.lua +++ b/src/service/oauth/oauth.lua @@ -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)