zhangguidong %!s(int64=2) %!d(string=hai) anos
pai
achega
639e08ca80
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = [])
     {