Browse Source

删除轮播图、频道、产品、公告路由

dev
李可松 4 years ago
parent
commit
1c4d2648a4
  1. 23
      routes/api.php

23
routes/api.php

@ -22,27 +22,4 @@ Route::namespace('App\Http\Controllers\Api')->group(function () {
# 首页 # 首页
Route::post('index', 'IndexController@index'); Route::post('index', 'IndexController@index');
/*# 轮播图
Route::prefix('slide')->group(function () {
Route::post('list', 'SlideController@index'); //轮播图
});
# 频道
Route::prefix('channel')->group(function () {
Route::post('list', 'ChannelController@index'); //频道列表
Route::post('my', 'ChannelController@my'); //我的频道列表
});
# 产品
Route::prefix('product')->group(function () {
Route::post('list', 'ProductController@index'); //产品列表
Route::post('hot', 'ProductController@hot'); //人气爆款
Route::post('guess', 'ProductController@guessLike'); //猜你喜欢
});
# 公告
Route::prefix('notice')->group(function () {
Route::post('list', 'NoticeController@index'); //公告列表
});*/
}); });
Loading…
Cancel
Save