被覆盖路由还原

main
limu 1 year ago
parent 4b7bc78eb3
commit 6c0a79dd40
  1. 25
      route/admin/role.php

@ -135,6 +135,31 @@ 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)

Loading…
Cancel
Save