|
@@ -16,18 +16,18 @@ use think\facade\Route;
|
|
|
Route::group('educationController', function () {
|
|
Route::group('educationController', function () {
|
|
|
//获取分类列表
|
|
//获取分类列表
|
|
|
Route::rule('getCateList','educationController/getCateList');
|
|
Route::rule('getCateList','educationController/getCateList');
|
|
|
- //获取所有文章列表
|
|
|
|
|
- Route::rule('gteArticleList','educationController/gteArticleList');
|
|
|
|
|
- //获取顶级分类
|
|
|
|
|
- Route::rule('getTopCate','educationController/getTopCate');
|
|
|
|
|
- //获取指定分类的子分类 ID 列表
|
|
|
|
|
- Route::rule('getSubcatesByTopCate','educationController/getSubcatesByTopCate');
|
|
|
|
|
- //修改分类
|
|
|
|
|
- Route::rule('editCate','educationController/editCate');
|
|
|
|
|
- //增加一个分类
|
|
|
|
|
- Route::rule('cateadd','educationController/cateadd');
|
|
|
|
|
- //删除分类
|
|
|
|
|
- Route::rule();
|
|
|
|
|
|
|
+// //获取所有文章列表
|
|
|
|
|
+// Route::rule('gteArticleList','educationController/gteArticleList');
|
|
|
|
|
+// //获取顶级分类
|
|
|
|
|
+// Route::rule('getTopCate','educationController/getTopCate');
|
|
|
|
|
+// //获取指定分类的子分类 ID 列表
|
|
|
|
|
+// Route::rule('getSubcatesByTopCate','educationController/getSubcatesByTopCate');
|
|
|
|
|
+// //修改分类
|
|
|
|
|
+// Route::rule('editCate','educationController/editCate');
|
|
|
|
|
+// //增加一个分类
|
|
|
|
|
+// Route::rule('cateadd','educationController/cateadd');
|
|
|
|
|
+// //删除分类
|
|
|
|
|
+// Route::rule();
|
|
|
|
|
|
|
|
|
|
|
|
|
})->middleware([
|
|
})->middleware([
|