WIN-2308041133\Administrator hai 19 horas
pai
achega
ade8f4b5df
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/api/controller/User.php

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

@@ -1721,7 +1721,7 @@ class User extends BaseController
         $where = [];
         $where[] = ['uid', '=', $uid];
         
-        if (!empty($post['type']) && in_array(strval($post['type']), ["1", "0"])) {
+        if (!empty($post['type']) && in_array(strval($post['type']), ["1", "-1"])) {
             $where[] = ['type', '=', $post['type']];
         }