quguofeng hai 1 ano
pai
achega
5d31260a9d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      application/api/controller/User.php

+ 1 - 1
application/api/controller/User.php

@@ -15,7 +15,7 @@ use think\Validate;
  */
  */
 class User extends Api
 class User extends Api
 {
 {
-    protected $noNeedLogin = ['login', 'mobilelogin', 'register', 'resetpwd', 'changeemail', 'changemobile', 'third'];
+    protected $noNeedLogin = ['login', 'mobile_login', 'register', 'resetpwd', 'changeemail', 'changemobile', 'third'];
     protected $noNeedRight = '*';
     protected $noNeedRight = '*';
 
 
     public function _initialize()
     public function _initialize()