Bläddra i källkod

会员不显示游客数据

lip 15 timmar sedan
förälder
incheckning
17ed7979b4
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      app/Services/UserService.php

+ 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']];
         }