You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.3 KiB
37 lines
1.3 KiB
<?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;
|
|
// USER_CODE_BEGIN -- stat_hour
|
|
|
|
Route::group('stat_hour', function () {
|
|
|
|
//小时统计列表
|
|
Route::get('stat_hour', 'stat_hour.StatHour/lists');
|
|
//小时统计详情
|
|
Route::get('stat_hour/:id', 'stat_hour.StatHour/info');
|
|
//添加小时统计
|
|
Route::post('stat_hour', 'stat_hour.StatHour/add');
|
|
//编辑小时统计
|
|
Route::put('stat_hour/:id', 'stat_hour.StatHour/edit');
|
|
//删除小时统计
|
|
Route::delete('stat_hour/:id', 'stat_hour.StatHour/del');
|
|
|
|
})->middleware([
|
|
AdminCheckToken::class,
|
|
AdminCheckRole::class,
|
|
AdminLog::class
|
|
]);
|
|
// USER_CODE_END -- stat_hour
|
|
|