12345678910111213141516171819202122232425 |
- <?php
- // +----------------------------------------------------------------------
- // | [ WE CAN DO IT MORE SIMPLE ]
- // +----------------------------------------------------------------------
- // | Copyright (c) 2018-2020 rights reserved.
- // +----------------------------------------------------------------------
- // | Author: TABLE ME
- // +----------------------------------------------------------------------
- // | Date: 2020-08-30 14:41
- // +----------------------------------------------------------------------
- use think\facade\Route;
- Route::group('log', function () {
- //获取权限列表
- Route::rule('list', 'v1.log/list');
- //删除管理员信息
- Route::post('del','v1.log/del');
- //删除一个的数据
- Route::post('delMonth','v1.log/delMonth');
- })->middleware([
- \app\admin\middleware\AllowOriginMiddleware::class,
- \app\admin\middleware\AdminAuthTokenMiddleware::class
- ]);
|