Browse Source

注册时间

lizhen_gitee 11 months ago
parent
commit
758355d1c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/library/Auth.php

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

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