
<?php
// +----------------------------------------------------------------------
// | [ WE CAN DO IT MORE SIMPLE  ]
// +----------------------------------------------------------------------
// | Copyright (c) 2018-2020 rights reserved.
// +----------------------------------------------------------------------
// | [ 首页管理 ]
// +----------------------------------------------------------------------
// | Date: 2020-08-30 14:41
// +----------------------------------------------------------------------

use think\facade\Route;

//@基础数据
Route::group('educationController', function () {
    //获取分类列表
    Route::rule('getCateList','educationController/getCateList');
//    //获取所有文章列表
//    Route::rule('gteArticleList','educationController/gteArticleList');
//    //获取顶级分类
//    Route::rule('getTopCate','educationController/getTopCate');
    //增加一个子分类
    Route::rule('subcateadd','educationController/subcateadd');
    //修改分类
    Route::rule('editCate','educationController/editCate');
//    //增加一个分类
//    Route::rule('cateadd','educationController/cateadd');
    //删除分类
    Route::rule('delCate','educationController/delCate');


})->middleware([
    \app\system\middleware\AllowOriginMiddleware::class,
    \app\system\middleware\AdminAuthTokenMiddleware::class
]);