diff --git a/config/route.php b/config/route.php index 7f73787..6cab7a7 100644 --- a/config/route.php +++ b/config/route.php @@ -109,15 +109,10 @@ Route::group('/marketing', function () { // }); Route::group('/customer', function () { Route::get('/handle_binding', [CustomerController::class, 'handleBindingNew']); //绑定接口 + Route::post('/bind', [CustomerController::class, 'bind']); //绑定接口 })->middleware([ app\middleware\JwtLocal::class, ]); - Route::group('/customer', function () { - Route::get('/bind', [CustomerController::class, 'bind']); //绑定接口 - })->middleware([ - app\middleware\JwtLocal::class, - ]); - }); });