Prechádzať zdrojové kódy

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

yingzi 1 rok pred
rodič
commit
87877b575f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/model/api/User.php

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

@@ -261,7 +261,7 @@ class User extends BaseModel
         $post["page"]     = $post["page"]<=0     ? 1  : (int)$post["page"];
         $where=[];
         $where[]=["u.work_type_id",">",0];
-        $where[]=["u.s","=",1];
+        $where[]=["u.status","=",1];
         $where[]=["a.is_show","=",1];
         if(!empty($post['work_type_id'])){
             $where[]=["u.work_type_id","=",$post['work_type_id']];