Explorar o código

add view=system

visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
5f1fbd60ba
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      app/Http/Controllers/ChannelController.php

+ 4 - 0
app/Http/Controllers/ChannelController.php

@@ -162,6 +162,10 @@ class ChannelController extends Controller
                         ->whereIn('uid', $channelId)
                         ->orWhere('owner_uid',$user['user_uid']);
                 break;
+            case 'system':
+                $table = Channel::select($indexCol)
+                            ->where('owner_uid',config("mint.admin.root_uuid"));
+                break;
         }
         //处理搜索
         if($request->has("search")){