34 lines
1.2 KiB
PHP
34 lines
1.2 KiB
PHP
<?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('aliapp', function () {
|
||
|
||
/***************************************************** 支付宝小程序配置 ****************************************************/
|
||
Route::get('config', 'aliapp.Config/get');
|
||
//设置阿里云配置
|
||
Route::put('config', 'aliapp.Config/set');
|
||
//静态信息
|
||
Route::get('static', 'aliapp.Config/static');
|
||
|
||
})->middleware([
|
||
AdminCheckToken::class,
|
||
AdminCheckRole::class,
|
||
AdminLog::class
|
||
]); |