|
@@ -897,9 +897,7 @@ Route::group('/admin', function () {
|
|
Route::group('/card', function () {
|
|
Route::group('/card', function () {
|
|
/* 卡管理 */
|
|
/* 卡管理 */
|
|
Route::group('/card', function () {
|
|
Route::group('/card', function () {
|
|
- Route::get('/list', [\app\admin\controller\member\FamilyController::class, 'list']);
|
|
|
|
- Route::get('/list/{id:\w+}', [\app\admin\controller\member\FamilyController::class, 'selectList']);
|
|
|
|
- Route::get('/info/{id:\w+}', [\app\admin\controller\member\FamilyController::class, 'selectInfo']);
|
|
|
|
|
|
+ Route::get('/list', [\app\admin\controller\card\CardController::class, 'list']);
|
|
})->middleware([
|
|
})->middleware([
|
|
\app\middleware\AdminAuthCheck::class
|
|
\app\middleware\AdminAuthCheck::class
|
|
]);
|
|
]);
|
|
@@ -910,6 +908,7 @@ Route::group('/admin', function () {
|
|
Route::post('/save', [\app\admin\controller\card\CardBatchController::class, 'save']);
|
|
Route::post('/save', [\app\admin\controller\card\CardBatchController::class, 'save']);
|
|
Route::delete('/delete', [\app\admin\controller\card\CardBatchController::class, 'delete']);
|
|
Route::delete('/delete', [\app\admin\controller\card\CardBatchController::class, 'delete']);
|
|
Route::get('/list', [\app\admin\controller\card\CardBatchController::class, 'list']);
|
|
Route::get('/list', [\app\admin\controller\card\CardBatchController::class, 'list']);
|
|
|
|
+ Route::get('/info', [\app\admin\controller\card\CardBatchController::class, 'info']);
|
|
})->middleware([
|
|
})->middleware([
|
|
\app\middleware\AdminAuthCheck::class
|
|
\app\middleware\AdminAuthCheck::class
|
|
]);
|
|
]);
|