30 lines
1.1 KiB
PHP
30 lines
1.1 KiB
PHP
|
<?php
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | Niucloud-admin 企业快速开发的多应用管理平台
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | 官方网址:https://www.niucloud.com
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | niucloud团队 版权所有 开源版本可自由商用
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | Author: Niucloud Team
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
|
|||
|
use think\facade\Route;
|
|||
|
|
|||
|
use app\adminapi\middleware\AdminCheckRole;
|
|||
|
use app\adminapi\middleware\AdminCheckToken;
|
|||
|
use app\adminapi\middleware\AdminLog;
|
|||
|
|
|||
|
/**
|
|||
|
* 卡密
|
|||
|
*/
|
|||
|
Route::group('carmi', function () {
|
|||
|
|
|||
|
/***************************************************** hello world ****************************************************/
|
|||
|
Route::get('hello_world', 'addon\carmi\app\adminapi\controller\hello_world\Index@index');
|
|||
|
|
|||
|
})->middleware([
|
|||
|
AdminCheckToken::class,
|
|||
|
AdminCheckRole::class,
|
|||
|
AdminLog::class
|
|||
|
]);
|