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.
yanzong/config/module.php

121 lines
4.4 KiB

<?php
// +----------------------------------------------------------------------
// | 商户功能模块默认配置
// | name:功能模块名称 required:必填项(用于父级) enable:是否启动 children:子级
// +----------------------------------------------------------------------
return [
'store' => [
'name' => '店铺管理',
'required' => true,
'children' => [
// 'shop' => ['name' => '门店管理', 'enable' => true], // 未实现
'page' => [
'name' => '店铺页面',
'required' => true,
'children' => [
'category' => ['name' => '分类模板', 'enable' => true]
]
],
'style' => [
'name' => '店铺风格',
'required' => true,
'children' => [
'theme' => ['name' => '主题风格', 'enable' => true]
]
],
]
],
'merchant' => [
'name' => '商户管理',
'required' => true,
'children' => [
'merchant' => ['name' => '商户管理', 'enable' => true],
'manage' => ['name' => '商户列表', 'enable' => true],
]
],
'goods' => [
'name' => '商品管理',
'required' => true,
'children' => [
'copy' => ['name' => '商品复制', 'enable' => true],
'import' => ['name' => '商品导入', 'enable' => true],
]
],
'order' => [
'name' => '订单管理',
'required' => true,
'children' => [
'updatePrice' => ['name' => '订单改价', 'enable' => true],
'printer' => ['name' => '小票打印', 'enable' => true],
'export' => ['name' => '订单导出', 'enable' => true],
'eorder' => ['name' => '电子面单', 'enable' => true],
]
],
'user' => [
'name' => '会员管理',
'required' => true,
'children' => [
'grade' => ['name' => '会员等级', 'enable' => true],
'balance' => ['name' => '余额记录', 'enable' => true],
]
],
'content' => [
'name' => '内容管理',
'required' => true,
'children' => [
'article' => ['name' => '文章管理', 'enable' => true],
'help' => ['name' => '帮助中心', 'enable' => true],
]
],
'market' => [
'name' => '营销管理',
'required' => true,
'children' => [
'coupon' => ['name' => '优惠券', 'enable' => true],
'recharge' => ['name' => '会员充值', 'enable' => true],
'points' => ['name' => '积分管理', 'enable' => true], // 1
'recommended' => ['name' => '商品推荐', 'enable' => true],
'fullFree' => ['name' => '满额包邮', 'enable' => true],
]
],
'statistics' => [
'name' => '数据统计',
'required' => true,
'children' => [
'statistics' => ['name' => '数据概况', 'enable' => true],
]
],
'client' => [
'name' => '客户端',
'required' => true,
'children' => [
'mpWeixin' => ['name' => '微信小程序', 'enable' => true],
'wxofficial' => ['name' => '微信公众号', 'enable' => true],
// 'h5' => ['name' => 'H5端', 'enable' => true],
'mpAlipay' => ['name' => '支付宝小程序', 'enable' => true, 'isPlugin' => true, 'pluginName' => 'mpAlipay'],
]
],
'apps' => [
'name' => '应用中心',
'required' => true,
'children' => [
'dealer' => ['name' => '分销中心', 'enable' => true],
'bargain' => ['name' => '砍价活动', 'enable' => true],
'groupon' => ['name' => '多人拼团', 'enable' => true],
'sharp' => ['name' => '整点秒杀', 'enable' => true],
'live' => ['name' => '小程序直播', 'enable' => true],
'eorder' => ['name' => '电子面单', 'enable' => true],
'collector' => ['name' => '商品采集', 'enable' => true],
]
],
'setting' => [
'name' => '设置',
'required' => true,
'children' => [
'customer' => ['name' => '客服设置', 'enable' => true],
'storage' => ['name' => '上传设置', 'enable' => true],
'printer' => ['name' => '小票打印机', 'enable' => true],
]
],
];