test_lgq/niucloud/app/adminapi/route/channel.php
2024-01-24 17:36:08 +08:00

32 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// +----------------------------------------------------------------------
// | Niucloud-admin 企业快速开发的saas管理平台
// +----------------------------------------------------------------------
// | 官方网址https://www.niucloud-admin.com
// +----------------------------------------------------------------------
// | niucloud团队 版权所有 开源版本可自由商用
// +----------------------------------------------------------------------
// | Author: Niucloud Team
// +----------------------------------------------------------------------
use app\adminapi\middleware\AdminCheckRole;
use app\adminapi\middleware\AdminCheckToken;
use app\adminapi\middleware\AdminLog;
use think\facade\Route;
/**
* 路由
*/
Route::group('channel', function () {
/***************************************************** H5信息 ****************************************************/
Route::get('h5/config', 'channel.H5/get');
//设置微信配置
Route::put('h5/config', 'channel.H5/set');
})->middleware([
AdminCheckToken::class,
AdminCheckRole::class,
AdminLog::class
]);