初始上传
This commit is contained in:
38
addon/supermember/config/diy_view.php
Executable file
38
addon/supermember/config/diy_view.php
Executable file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* Niushop商城系统 - 团队十年电商经验汇集巨献!
|
||||
* =========================================================
|
||||
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
|
||||
* ----------------------------------------------
|
||||
* 官方网址: https://www.niushop.com
|
||||
* =========================================================
|
||||
*/
|
||||
return [
|
||||
|
||||
// 自定义模板页面类型,格式:[ 'title' => '页面类型名称', 'name' => '页面标识', 'path' => '页面路径', 'value' => '页面数据,json格式' ]
|
||||
'template' => [],
|
||||
|
||||
// 后台自定义组件——装修
|
||||
'util' => [],
|
||||
|
||||
// 自定义页面路径
|
||||
'link' => [],
|
||||
|
||||
// 自定义图标库
|
||||
'icon_library' => [],
|
||||
|
||||
// uni-app 组件,格式:[ 'name' => '组件名称/文件夹名称', 'path' => '文件路径/目录路径' ],多个逗号隔开,自定义组件名称前缀必须是diy-,也可以引用第三方组件
|
||||
'component' => [],
|
||||
|
||||
// uni-app 页面,多个逗号隔开
|
||||
'pages' => [],
|
||||
|
||||
// 模板信息,格式:'title' => '模板名称', 'name' => '模板标识', 'cover' => '模板封面图', 'preview' => '模板预览图', 'desc' => '模板描述'
|
||||
'info' => [],
|
||||
|
||||
// 主题风格配色,格式可以自由定义扩展,【在uni-app中通过:this.themeStyle... 获取定义的颜色字段,例如:this.themeStyle.main_color】
|
||||
'theme' => [],
|
||||
|
||||
// 自定义页面数据,格式:[ 'title' => '页面名称', 'name' => "页面标识", 'value' => [页面数据,json格式] ]
|
||||
'data' => []
|
||||
];
|
||||
47
addon/supermember/config/event.php
Executable file
47
addon/supermember/config/event.php
Executable file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
// 事件定义文件
|
||||
return [
|
||||
'bind' => [
|
||||
|
||||
],
|
||||
|
||||
'listen' => [
|
||||
//展示活动
|
||||
'ShowPromotion' => [
|
||||
'addon\supermember\event\ShowPromotion',
|
||||
],
|
||||
// 会员卡订单支付异步回调
|
||||
'MemberLevelOrderPayNotify' => [
|
||||
'addon\supermember\event\MemberLevelOrderPayNotify'
|
||||
],
|
||||
// 订单支付
|
||||
"OrderPay" => [
|
||||
'addon\supermember\event\MemberLevelOrderPayNotify'
|
||||
],
|
||||
// 会员卡订单定时关闭
|
||||
'MemberLevelOrderClose' => [
|
||||
'addon\supermember\event\MemberLevelOrderClose'
|
||||
],
|
||||
// 会员卡自动过期
|
||||
'MemberLevelAutoExpire' => [
|
||||
'addon\supermember\event\MemberLevelAutoExpire'
|
||||
],
|
||||
'CouponGetType' => [
|
||||
'addon\supermember\event\CouponGetType'
|
||||
],
|
||||
'IncomeStatistics' => [
|
||||
'addon\supermember\event\IncomeStatistics'
|
||||
],
|
||||
//统计写入
|
||||
'AddStat' => [
|
||||
'addon\supermember\event\AddStat',
|
||||
],
|
||||
//通过支付信息获取手机端订单详情路径
|
||||
'WapOrderDetailPathByPayInfo' => [
|
||||
'addon\supermember\event\WapOrderDetailPathByPayInfo',
|
||||
],
|
||||
],
|
||||
|
||||
'subscribe' => [
|
||||
],
|
||||
];
|
||||
21
addon/supermember/config/info.php
Executable file
21
addon/supermember/config/info.php
Executable file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* Niushop商城系统 - 团队十年电商经验汇集巨献!
|
||||
* =========================================================
|
||||
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
|
||||
* ----------------------------------------------
|
||||
* 官方网址: https://www.niushop.com
|
||||
|
||||
* =========================================================
|
||||
*/
|
||||
return [
|
||||
'name' => 'supermember',
|
||||
'title' => '超级会员卡',
|
||||
'description' => '超级会员卡,增加用户粘性',
|
||||
'type' => 'tool', //插件类型 system :系统插件(自动安装), business:业务插件 promotion:扩展营销插件 tool:工具插件
|
||||
'status' => 1,
|
||||
'author' => '',
|
||||
'version' => '5.5.3',
|
||||
'version_no' => '553250709001',
|
||||
'content' => '',
|
||||
];
|
||||
86
addon/supermember/config/menu_shop.php
Executable file
86
addon/supermember/config/menu_shop.php
Executable file
@@ -0,0 +1,86 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 平台端菜单设置
|
||||
// +----------------------------------------------------------------------
|
||||
return [
|
||||
[
|
||||
'name' => 'SUPER_MEMBER_LIST',
|
||||
'title' => '超级会员卡',
|
||||
'parent' => 'MEMBER_LEVEL_ROOT',
|
||||
'url' => 'supermember://shop/membercard/lists',
|
||||
'is_show' => 1,
|
||||
'sort' => 2,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'SUPER_MEMBER_ADD',
|
||||
'title' => '会员卡添加',
|
||||
'url' => 'supermember://shop/membercard/add',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'SUPER_MEMBER_EDIT',
|
||||
'title' => '会员卡编辑',
|
||||
'url' => 'supermember://shop/membercard/edit',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'SUPER_MEMBER_DELETE',
|
||||
'title' => '会员卡删除',
|
||||
'url' => 'supermember://shop/membercard/delete',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'SUPER_MEMBER_STATUS',
|
||||
'title' => '会员卡状态变更',
|
||||
'url' => 'supermember://shop/membercard/status',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'SUPER_MEMBER_RECOMMEND',
|
||||
'title' => '会员卡推荐',
|
||||
'url' => 'supermember://shop/membercard/recommend',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'SUPER_MEMBER_AGREEMENT',
|
||||
'title' => '开卡协议',
|
||||
'url' => 'supermember://shop/membercard/agreement',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
]
|
||||
],
|
||||
[
|
||||
'name' => 'SUPER_MEMBER_INDEX',
|
||||
'title' => '会员卡数据',
|
||||
'parent' => 'STAT_SHOP',
|
||||
'url' => 'supermember://shop/membercard/index',
|
||||
'picture' => 'addon/supermember/shop/view/public/img/member_card_new.png',
|
||||
'picture_selected' => 'addon/supermember/shop/view/public/img/member_card_select.png',
|
||||
'is_show' => 1,
|
||||
],
|
||||
[
|
||||
'name' => 'SUPER_MEMBER_ORDER',
|
||||
'title' => '会员卡订单',
|
||||
'parent' => 'ORDER_MANAGE',
|
||||
'url' => 'supermember://shop/membercard/order',
|
||||
'picture' => 'app/shop/view/public/img/icon_new/member_card_order.png',
|
||||
'picture_selected' => 'app/shop/view/public/img/icon_new/member_card_order_selected.png',
|
||||
'is_show' => 1,
|
||||
'sort' => 3,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'SUPER_MEMBER_ORDER_DETAIL',
|
||||
'title' => '订单详情',
|
||||
'url' => 'supermember://shop/membercard/orderdetail',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
Reference in New Issue
Block a user