27 lines
923 B
PHP
27 lines
923 B
PHP
|
<?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('auth', function () {
|
|||
|
|
|||
|
Route::put('logout', 'login.Login/logout');
|
|||
|
|
|||
|
})->middleware(ApiChannel::class)
|
|||
|
->middleware(ApiCheckToken::class, true)
|
|||
|
->middleware(ApiLog::class);
|