Browse Source

add view=system

visuddhinanda 2 năm trước cách đây
mục cha
commit
5f1fbd60ba

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

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