From 6c0a79dd40e08fce1687aade91ad91d6377e0e64 Mon Sep 17 00:00:00 2001 From: limu Date: Fri, 29 Dec 2023 10:18:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A2=AB=E8=A6=86=E7=9B=96=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E8=BF=98=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- route/admin/role.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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)