|
|
|
@ -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) |
|
|
|
|