env('APP_HOST'), 'prefix' => 'adminApi/banner'],function (){ Route::match(['get','post'],'list', 'BannerController@getList')->name('adminApi.banner.list');//获取列表 Route::match(['get','post'],'info', 'BannerController@getInfo')->name('adminApi.banner.info');//获取详情 Route::match(['get','post'],'save', 'BannerController@saveBanner')->name('adminApi.banner.save');//新增&编辑 Route::match(['get','post'],'destroys', 'BannerController@destroys')->name('adminApi.banner.destroys');//删除 });