Эх сурвалжийг харах

会员不显示游客数据

lip 1 өдөр өмнө
parent
commit
17ed7979b4

+ 1 - 0
app/Services/UserService.php

@@ -45,6 +45,7 @@ class UserService extends BaseService
     public static function getWhere(array $search = []): array
     {
         $where = [];
+        $where[] = ['from', '<>', 2];
         if (isset($search['id']) && !empty($search['id'])) {
             $where[] = ['users.id', '=', $search['id']];
         }