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