main
1748153932 11 months ago
parent 8e2f616b9a
commit 617f4730f7
  1. 25
      route/admin/role.php

@ -135,30 +135,7 @@ Route::group(function () {
'_auth' => true,
]);
//合伙人角色
Route::group('partner/role', function () {
Route::get('list', '.Partner/list')->name('systemPartnerList')->option([
'_alias' => '合作人角色列表',
]);
Route::post('add', '.Partner/add')->name('systemPartnerAdd')->option([
'_alias' => '添加合作人角色',
]);
Route::post('update', '.Partner/update')->name('systemPartnerUpdate')->option([
'_alias' => '编辑合作人角色',
]);
Route::get('detail/:id', '.Partner/detail')->name('systemPartnerDetail')->option([
'_alias' => '读取合作人角色详情',
]);
Route::get('delete/:id', '.Partner/delete')->name('systemPartnerDel')->option([
'_alias' => '删除合作人角色',
]);
Route::get('region', '.Partner/getArea')->name('systemPartnerArea')->option([
'_alias' => '读取合作人大区',
]);
})->prefix('admin.system.admin')->option([
'_path' => 'self',
'_auth' => true,
]);
})->middleware(AllowOriginMiddleware::class)
->middleware(AdminTokenMiddleware::class, true)

Loading…
Cancel
Save