group(function (){ Route::middleware('throttle:' . config('api.rate_limits.sign')) ->group(function () { //登录 Route::POST('login', 'LoginController@login'); }); Route::middleware(['throttle:' . config('api.rate_limits.access'),"authorizing"]) ->group(function () { Route::prefix("waybill")->group(function () { Route::prefix("dispatch")->group(function () { Route::GET('/', 'WaybillController@getData'); Route::POST('/', 'WaybillController@dispatch'); Route::POST('dailyBilling', 'WaybillController@dailyBilling'); }); }); Route::prefix("order")->group(function () { Route::GET('batchRecover', 'OrderController@recoverBatch'); }); }); });