WIN-2308041133\Administrator 2 주 전
부모
커밋
a1ae6dcc6d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/api/controller/User.php

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

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