WIN-2308041133\Administrator 1 روز پیش
والد
کامیت
390aa0ec12
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      app/model/api/User.php

+ 3 - 3
app/model/api/User.php

@@ -471,9 +471,9 @@ class User extends BaseModel
 
         // 构建查询(不设置 field,用默认查所有,减少解析开销)
         $query = $this
-            ->alias("u")
-            ->leftJoin("info_audit a", "u.uid=a.uid and a.status = 1 and a.is_show = 1")
-            ->leftJoin("user_show_template ut", "ut.uid = u.uid and ut.is_default = 1")
+//            ->alias("u")
+//            ->leftJoin("info_audit a", "u.uid=a.uid and a.status = 1 and a.is_show = 1")
+//            ->leftJoin("user_show_template ut", "ut.uid = u.uid and ut.is_default = 1")
             ->where($where);
         if ($serviceAreaWhere) {
             $query->where($serviceAreaWhere);