zhangl преди 4 месеца
родител
ревизия
c24a409b41
променени са 3 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 1 0
      frontendApi/modules/v1/models/LoginForm.php
  2. 1 1
      frontendApi/modules/v1/models/User.php
  3. 1 1
      frontendApi/modules/v1/models/brand/User.php

+ 1 - 0
frontendApi/modules/v1/models/LoginForm.php

@@ -2,6 +2,7 @@
 namespace frontendApi\modules\v1\models;
 
 use common\components\Model;
+use common\components\Redis;
 use common\helpers\Date;
 use common\libs\LoginIpChecker;
 use common\models\BaUser;

+ 1 - 1
frontendApi/modules/v1/models/User.php

@@ -30,7 +30,7 @@ class User extends \common\models\User implements IdentityInterface {
 //            return static::findOne(['ID' => $userId]);
 //        }
 //        return null;
-32|     }
+    }
 
     public function fields() {
         $fields = parent::fields();

+ 1 - 1
frontendApi/modules/v1/models/brand/User.php

@@ -31,7 +31,7 @@ class User extends BaUser implements IdentityInterface {
 //            return static::findOne(['ID' => $userId]);
 //        }
 //        return null;
-33|     }
+    }
 
     public function fields() {
         $fields = parent::fields();