Browse Source

个人资料

lizhen_gitee 1 năm trước cách đây
mục cha
commit
070591f06d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      application/common/library/Authcoach.php

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

@@ -25,7 +25,7 @@ class Authcoach
     //默认配置
     protected $config = [];
     protected $options = [];
-    protected $allowFields = ['id', 'username', 'mobile', 'avatar'];
+    protected $allowFields = ['id', 'username','nickname','firstname','lastname', 'mobile', 'email', 'avatar'];
 
 
     public function __construct($options = [])