zhangguidong 2 年之前
父節點
當前提交
639e08ca80
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/common/library/Auth.php

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

@@ -27,7 +27,7 @@ class Auth
     //默认配置
     protected $config = [];
     protected $options = [];
-    protected $allowFields = ['id', 'username', 'nickname', 'mobile', 'avatar', 'score','money','t_money','t_wmoney','t_cmoney','is_pond','is_fishery','pid','z_name','z_phone',];
+    protected $allowFields = ['id', 'username', 'nickname', 'mobile', 'avatar', 'score','money','t_money','t_wmoney','t_cmoney','is_pond','is_fishery','pid','z_name','z_phone','code',];
 
     public function __construct($options = [])
     {