lizhen_gitee преди 11 месеца
родител
ревизия
758355d1c2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      application/common/library/Auth.php

+ 1 - 1
application/common/library/Auth.php

@@ -26,7 +26,7 @@ class Auth
     //默认配置
     protected $config = [];
     protected $options = [];
-    protected $allowFields = ['id', 'username', 'nickname', 'mobile', 'avatar', 'gender'];
+    protected $allowFields = ['id', 'username', 'nickname', 'mobile', 'avatar', 'gender', 'createtime'];
 
     public function __construct($options = [])
     {