banner.php 599 B

12345678910111213
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. Route::group(['domain' => env('APP_HOST'), 'prefix' => 'adminApi/banner'],function (){
  4. Route::match(['get','post'],'list', 'BannerController@getList')->name('adminApi.banner.list');//获取列表
  5. Route::match(['get','post'],'info', 'BannerController@getInfo')->name('adminApi.banner.info');//获取详情
  6. Route::match(['get','post'],'save', 'BannerController@saveBanner')->name('adminApi.banner.save');//新增&编辑
  7. Route::match(['get','post'],'destroys', 'BannerController@destroys')->name('adminApi.banner.destroys');//删除
  8. });