32 lines
1.3 KiB
PHP
32 lines
1.3 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');
|
||
Route::post('add', 'addon\carmi\app\adminapi\controller\carmi\Index@add');
|
||
Route::post('get', 'addon\carmi\app\adminapi\controller\carmi\Index@get');
|
||
Route::post('del', 'addon\carmi\app\adminapi\controller\carmi\Index@del');
|
||
})->middleware([
|
||
AdminCheckToken::class,
|
||
AdminCheckRole::class,
|
||
AdminLog::class
|
||
]); |