浏览代码

园区模糊搜索

chenhao 4 年之前
父节点
当前提交
8ea2cac8fd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/User.php

+ 1 - 1
application/api/controller/User.php

@@ -14,7 +14,7 @@ use think\Validate;
  */
 class User extends Api
 {
-    protected $noNeedLogin = ['login', 'mobilelogin', 'register', 'resetpwd', 'changeemail', 'changemobile', 'third','sendPhone'];
+    protected $noNeedLogin = ['login', 'mobilelogin', 'register', 'resetpwd', 'changeemail', 'changemobile', 'third','sendPhone','wechatLogin'];
     protected $noNeedRight = '*';
 
     public function _initialize()