123456789101112131415161718192021222324252627282930 |
- <?php
- // +----------------------------------------------------------------------
- // | [ WE CAN DO IT MORE SIMPLE ]
- // +----------------------------------------------------------------------
- // | Copyright (c) 2018-2020 rights reserved.
- // +----------------------------------------------------------------------
- // |
- // +----------------------------------------------------------------------
- // | Date: 2020-08-30 14:41
- // +----------------------------------------------------------------------
- use think\facade\Route;
- //@操作日志
- Route::group('log', function () {
- //@日志列表
- Route::rule('list', 'log/list');
- //@删除日志
- Route::post('del','log/del');
- //@删除一个月之前
- Route::post('delMonth','log/delMonth');
- //@登录日志列表
- Route::rule('listLoginLog', 'log/listLoginLog');
- //@删除一个月之前登录日志
- Route::post('delMonthLoginLog','log/delMonthLoginLog');
- })->middleware([
- \app\system\middleware\AllowOriginMiddleware::class,
- \app\system\middleware\AdminAuthTokenMiddleware::class,
- \app\system\middleware\AdminCkeckRoleMiddleware::class
- ]);
|