diff --git a/route/admin/role.php b/route/admin/role.php index 56be5a5..cedfd25 100644 --- a/route/admin/role.php +++ b/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)