Quellcode durchsuchen

2023-5-22-1 新增服务区-2

yingzi vor 1 Jahr
Ursprung
Commit
33a3ce3b03
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      app/model/api/User.php

+ 2 - 1
app/model/api/User.php

@@ -342,7 +342,8 @@ class User extends BaseModel
         if($is_admin==1){
             $field = "u.*"
                     . ",ut.show_template_id"
-                    . ",(select count(*) from table_info_audit where uid = u.uid ) as is_show"
+//                    . ",(select count(*) from table_info_audit where uid = u.uid ) as is_show"
+                    .",(select form table_info_audit where uid = u.uid ) as is_show"
                     . ",p.nickname as p_nickname,p.mobile as p_mobile"
                     . ",wt.title as work_type_title"
                     . ",(select count(*) from table_user_show_template where uid = u.uid) as showTempCount"