34 lines
1.7 KiB
PHP
Executable File
34 lines
1.7 KiB
PHP
Executable File
<?php
|
||
|
||
// +----------------------------------------------------------------------
|
||
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||
// +----------------------------------------------------------------------
|
||
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
|
||
// +----------------------------------------------------------------------
|
||
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||
// +----------------------------------------------------------------------
|
||
// | Author: CRMEB Team <admin@crmeb.com>
|
||
// +----------------------------------------------------------------------
|
||
|
||
use app\common\middleware\SignMiddleware;
|
||
use think\facade\Route;
|
||
|
||
Route::group('middle/', function () {
|
||
Route::any('product/label/option', 'middle.ProductLabel/getOptions');
|
||
Route::any('store/product/lst_filter', 'middle.StoreProduct/getStatusFilter');
|
||
Route::any('store/product/lst', 'middle.StoreProduct/lst');
|
||
Route::any('store/product/mer_select', 'middle.StoreProduct/lists');
|
||
Route::any('store/category/list', 'middle.StoreCategory/getList');
|
||
|
||
Route::any('user/group/lst', 'middle.UserGroup/lst');
|
||
Route::any('user/label/lst', 'middle.UserLabel/lst');
|
||
Route::any('user/lst', 'middle.User/lst');
|
||
|
||
Route::any('merchant/city/get_area', 'middle.Merchant/get_area');
|
||
Route::any('merchant/city/get_street', 'middle.Merchant/get_street');
|
||
Route::any('merchant/count', 'middle.Merchant/count');
|
||
Route::any('merchant/category/options', 'middle.MerchantCategory/getOptions');
|
||
Route::any('merchant/type/options', 'middle.MerchantType/options');
|
||
Route::any('merchant/lst', 'middle.Merchant/lst');
|
||
|
||
})->middleware(SignMiddleware::class); |