<?php
/**
 * Created by PhpStorm.
 * User: yangx
 * Date: 2020/6/23
 * Time: 下午12:15
 */

namespace App\Http\Controllers\Web;


use App\Http\Controllers\Controller;
use App\Model\MediaCategoryModel;
use Illuminate\Support\Facades\Auth;

class IndexController extends Controller
{
    function index(){

        $mediaCatgs = MediaCategoryModel::catgList();
        $data['catgs'] = $mediaCatgs;

        return view('admin.index',$data);
    }
}