Browse Source

修复登录/注册

neo 1 year ago
parent
commit
e06e3a369a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      nodes/login/controllers/usr.lua

+ 1 - 1
nodes/login/controllers/usr.lua

@@ -169,7 +169,7 @@ end
169 169
 -- 登录 - 手机号
170 170
 function root.usr_login_by_phone(msg)
171 171
     log.info("usr_login_by_phone msg[%s]", tostring(msg))
172
-    local account, password = msg.account, msg.accountPassword
172
+    local account, password = msg.phone, msg.password
173 173
     if not account or not password then
174 174
         return code.PARAMTER_ERROR
175 175
     end