会员支付管理后台-用于提供会员管理小程序支付的api接口,与后台数据管理展示
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1.5 KiB

<?php
// +----------------------------------------------------------------------
// | Niucloud-admin 企业快速开发的saas管理平台
// +----------------------------------------------------------------------
// | 官方网址:https://www.niucloud-admin.com
// +----------------------------------------------------------------------
// | niucloud团队 版权所有 开源版本可自由商用
// +----------------------------------------------------------------------
// | Author: Niucloud Team
// +----------------------------------------------------------------------
use app\api\middleware\ApiChannel;
use app\api\middleware\ApiCheckToken;
use app\api\middleware\ApiLog;
use think\facade\Route;
/**
* 文章管理
*/
Route::group('article', function () {
/***************************************************** 文章管理 ****************************************************/
//文章列表
Route::get('article', 'article.Article/lists');
//文章详情
Route::get('article/:id', 'article.Article/info');
//文章
Route::get('article/all', 'article.Article/all');
/***************************************************** 文章分类管理 ****************************************************/
//文章分类列表
Route::get('category', 'article.ArticleCategory/lists');
//文章分类详情
Route::get('category/:id', 'article.ArticleCategory/info');
})->middleware(ApiChannel::class)
->middleware(ApiCheckToken::class, false)
->middleware(ApiLog::class);