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.4 KiB
37 lines
1.4 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 -- resource_sharing
|
|
|
|
Route::group('resource_sharing', function () {
|
|
|
|
//资源共享列表
|
|
Route::get('resource_sharing', 'resource_sharing.ResourceSharing/lists');
|
|
//资源共享详情
|
|
Route::get('resource_sharing/:id', 'resource_sharing.ResourceSharing/info');
|
|
//添加资源共享
|
|
Route::post('resource_sharing', 'resource_sharing.ResourceSharing/add');
|
|
//编辑资源共享
|
|
Route::put('resource_sharing/:id', 'resource_sharing.ResourceSharing/edit');
|
|
//删除资源共享
|
|
Route::delete('resource_sharing/:id', 'resource_sharing.ResourceSharing/del');
|
|
|
|
})->middleware([
|
|
AdminCheckToken::class,
|
|
AdminCheckRole::class,
|
|
AdminLog::class
|
|
]);
|
|
// USER_CODE_END -- resource_sharing
|
|
|