You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.0 KiB
72 lines
1.0 KiB
<?php
|
|
|
|
use think\facade\Route;
|
|
|
|
//商城后端路由表
|
|
Route::group('admin', function () {
|
|
|
|
Route::group('AdminStore', function () {
|
|
//分类
|
|
Route::get('storeList', 'AdminStore/storeList');
|
|
|
|
Route::get('storeSelect', 'AdminStore/storeSelect');
|
|
|
|
Route::get('storeInfo', 'AdminStore/storeInfo');
|
|
|
|
Route::post('storeAdd', 'AdminStore/storeAdd');
|
|
|
|
Route::post('storeUpdate', 'AdminStore/storeUpdate');
|
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|
|
//商城后端路由表
|
|
Route::group('app', function () {
|
|
|
|
Route::group('IndexStore', function () {
|
|
//分类
|
|
Route::get('storeList', 'IndexStore/storeList');
|
|
|
|
Route::get('storeSelect', 'IndexStore/storeSelect');
|
|
|
|
Route::get('storeInfo', 'IndexStore/storeInfo');
|
|
|
|
Route::get('storeServiceList', 'IndexStore/storeServiceList');
|
|
|
|
Route::get('commentList', 'IndexStore/commentList');
|
|
|
|
Route::post('storeAdd', 'IndexStore/storeAdd');
|
|
|
|
Route::post('storeUpdate', 'IndexStore/storeUpdate');
|
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|