소스 검색

用户资料

lizhen_gitee 1 년 전
부모
커밋
5b6531c28e
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', 'mobile', 'simplemobile', 'avatar', 'email', 'firstname', 'lastname', 'height','age','weight','address','notice_type','whatsapp'];
+    protected $allowFields = ['id', 'username', 'mobile', 'simplemobile', 'avatar', 'email', 'firstname', 'lastname', 'height','age','weight','address','notice_email','notice_whatsapp','whatsapp'];
 
     public function __construct($options = [])
     {