WIN-2308041133\Administrator 1 ngày trước cách đây
mục cha
commit
390aa0ec12
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      app/model/api/User.php

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

@@ -471,9 +471,9 @@ class User extends BaseModel
 
 
         // 构建查询(不设置 field,用默认查所有,减少解析开销)
         // 构建查询(不设置 field,用默认查所有,减少解析开销)
         $query = $this
         $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);
             ->where($where);
         if ($serviceAreaWhere) {
         if ($serviceAreaWhere) {
             $query->where($serviceAreaWhere);
             $query->where($serviceAreaWhere);