@@ -30,40 +30,40 @@ class ConfigController extends Controller
'1' => '启用',
'0' => '禁用',
],
- //配送方式
- 'express_type' => [
- '0' => '全部',
- '1' => '自提',
- '2' => '快递',
- ],
+ //配送方式
+ 'express_type' => [
+ '1' => '快递',
+ '2' => '自提',
+ '0' => '全部',
+ ],
//储存方式
'store_ids' => [
- '0' => '常温',
'1' => '冷冻',
'2' => '冷藏',
+ '0' => '常温',
//对应模板
'apply_type' => [
- '0' => '团购首页',
'1' => '菜市场首页',
+ '0' => '团购首页',
//版块类型:
'area_type' => [
- '0' => 'banner',
'1' => '专题广告',
'2' => '商品楼层',
'3' => '分类专题(菜市场)',
+ '0' => 'banner',
//商品展示方式
'show_type' => [
- '0' => '左图右字',
'1' => '通栏大图',
'2' => '左右滑动',
+ '0' => '左图右字',
//接货方式:
'receive_type' => [
- '0' => '信任交付',
'1' => '手动确认接货',
+ '0' => '信任交付',
//城市级别
'level' => [
@@ -51,8 +51,7 @@ $api->version('v1', [
//新增城市
$api->post('/cityManagement/create', 'ConfigCityManagementController@create');
- //配置文件
- $api->get('/config', 'ConfigController@index');
});
-
+ //配置文件
+ $api->get('/config', 'ConfigController@index');