Ver Fonte

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

yingzi há 1 ano atrás
pai
commit
aff2b93bfb
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/model/api/User.php

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

@@ -343,7 +343,7 @@ class User extends BaseModel
         if($is_admin==1){
             $field = "u.*"
                     . ",ut.show_template_id"
-                    . ",(select count(*) from table_info_audit where uid = u.uid and status = 1 ) as is_show"
+                    . ",(select is_show from table_info_audit where uid = u.uid and status = 1 ) 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"