瀏覽代碼

add view=system

visuddhinanda 2 年之前
父節點
當前提交
5f1fbd60ba
共有 1 個文件被更改,包括 4 次插入0 次删除
  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")){