初始上传
This commit is contained in:
70
addon/pointexchange/config/diy_view.php
Executable file
70
addon/pointexchange/config/diy_view.php
Executable file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/**
|
||||
* Niushop商城系统 - 团队十年电商经验汇集巨献!
|
||||
* =========================================================
|
||||
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
|
||||
* ----------------------------------------------
|
||||
* 官方网址: https://www.niushop.com
|
||||
* =========================================================
|
||||
*/
|
||||
return [
|
||||
|
||||
// 自定义模板页面类型,格式:[ 'title' => '页面类型名称', 'name' => '页面标识', 'path' => '页面路径', 'value' => '页面数据,json格式' ]
|
||||
'template' => [],
|
||||
|
||||
// 后台自定义组件——装修
|
||||
'util' => [],
|
||||
|
||||
// 自定义页面路径
|
||||
'link' => [
|
||||
[
|
||||
'name' => 'INTEGRAL',
|
||||
'title' => '积分商城',
|
||||
'parent' => 'MARKETING_LINK',
|
||||
'wap_url' => '',
|
||||
'web_url' => '',
|
||||
'sort' => 0,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'INTEGRAL_STORE',
|
||||
'title' => '积分商城',
|
||||
'wap_url' => '/pages_promotion/point/list',
|
||||
'web_url' => '',
|
||||
'sort' => 0
|
||||
],
|
||||
[
|
||||
'name' => 'STORE_MY_INTEGRAL',
|
||||
'title' => '我的积分',
|
||||
'wap_url' => '/pages_tool/member/point',
|
||||
'web_url' => '',
|
||||
'sort' => 0
|
||||
],
|
||||
[
|
||||
'name' => 'INTEGRAL_CONVERSION',
|
||||
'title' => '积分兑换',
|
||||
'wap_url' => '/pages_promotion/point/order_list',
|
||||
'web_url' => '',
|
||||
'sort' => 0
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
|
||||
// 自定义图标库
|
||||
'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' => []
|
||||
];
|
||||
42
addon/pointexchange/config/event.php
Executable file
42
addon/pointexchange/config/event.php
Executable file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
// 事件定义文件
|
||||
return [
|
||||
'bind' => [
|
||||
|
||||
],
|
||||
|
||||
'listen' => [
|
||||
//展示活动
|
||||
'ShowPromotion' => [
|
||||
'addon\pointexchange\event\ShowPromotion',
|
||||
],
|
||||
'PointexchangeOrderPayNotify' => [
|
||||
'addon\pointexchange\event\PointexchangeOrderPayNotify',
|
||||
],
|
||||
|
||||
'MemberAccountFromType' => [
|
||||
'addon\pointexchange\event\MemberAccountFromType',
|
||||
],
|
||||
'OrderClose' => [
|
||||
'addon\pointexchange\event\OrderClose'
|
||||
],
|
||||
// 订单营销活动类型
|
||||
'OrderPromotionType' => [
|
||||
'addon\pointexchange\event\OrderPromotionType',
|
||||
],
|
||||
// 优惠券获取来源
|
||||
'CouponGetType' => [
|
||||
'addon\pointexchange\event\CouponGetType',
|
||||
],
|
||||
//通过支付信息获取手机端订单详情路径
|
||||
'WapOrderDetailPathByPayInfo' => [
|
||||
'addon\pointexchange\event\WapOrderDetailPathByPayInfo',
|
||||
],
|
||||
'DeleteGoodsCheck' => [
|
||||
'addon\pointexchange\event\DeleteGoodsCheck',
|
||||
],
|
||||
],
|
||||
|
||||
'subscribe' => [
|
||||
],
|
||||
];
|
||||
20
addon/pointexchange/config/info.php
Executable file
20
addon/pointexchange/config/info.php
Executable file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Niushop商城系统 - 团队十年电商经验汇集巨献!
|
||||
* =========================================================
|
||||
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
|
||||
* ----------------------------------------------
|
||||
* 官方网址: https://www.niushop.com
|
||||
* =========================================================
|
||||
*/
|
||||
return [
|
||||
'name' => 'pointexchange',
|
||||
'title' => '积分兑换',
|
||||
'description' => '积分兑换商品,优惠券,红包',
|
||||
'type' => 'tool', //插件类型 system :系统插件(自动安装), promotion:扩展营销插件 tool:工具插件
|
||||
'status' => 1,
|
||||
'author' => '',
|
||||
'version' => '5.5.3',
|
||||
'version_no' => '553250709001',
|
||||
'content' => '',
|
||||
];
|
||||
86
addon/pointexchange/config/menu_shop.php
Executable file
86
addon/pointexchange/config/menu_shop.php
Executable file
@@ -0,0 +1,86 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 平台端菜单设置
|
||||
// +----------------------------------------------------------------------
|
||||
return [
|
||||
[
|
||||
'name' => 'PROMOTION_POINGEXCHANGE_ROOT',
|
||||
'title' => '积分商城',
|
||||
'url' => 'pointexchange://shop/exchange/lists',
|
||||
'parent' => 'PROMOTION_CENTER',
|
||||
'is_show' => 1,
|
||||
'is_control' => 1,
|
||||
'is_icon' => 0,
|
||||
'picture' => 'addon/pointexchange/shop/view/public/img/point_site.png',
|
||||
'picture_select' => '',
|
||||
'sort' => 100,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'PROMOTION_POINGEXCHANGE',
|
||||
'title' => '积分商品',
|
||||
'url' => 'pointexchange://shop/exchange/lists',
|
||||
'is_show' => 0,
|
||||
'is_control' => 1,
|
||||
'is_icon' => 0,
|
||||
'picture' => '',
|
||||
'picture_select' => '',
|
||||
'sort' => 1,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'PROMOTION_POINGEXCHANGE_ADD',
|
||||
'title' => '添加商品',
|
||||
'url' => 'pointexchange://shop/exchange/add',
|
||||
'sort' => 1,
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'PROMOTION_POINGEXCHANGE_EDIT',
|
||||
'title' => '编辑商品',
|
||||
'url' => 'pointexchange://shop/exchange/edit',
|
||||
'sort' => 1,
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'PROMOTION_POINGEXCHANGE_CLOSE',
|
||||
'title' => '下架商品',
|
||||
'url' => 'pointexchange://shop/exchange/close',
|
||||
'sort' => 1,
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'PROMOTION_POINGEXCHANGE_DELETE',
|
||||
'title' => '删除商品',
|
||||
'url' => 'pointexchange://shop/exchange/delete',
|
||||
'sort' => 1,
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
|
||||
]
|
||||
],
|
||||
]
|
||||
],
|
||||
[
|
||||
'name' => 'PROMOTION_POINGEXCHANGE_ORDER_LISTS',
|
||||
'title' => '积分兑换订单',
|
||||
'url' => 'pointexchange://shop/pointexchange/lists',
|
||||
'parent' => 'ORDER_MANAGE',
|
||||
'sort' => 6,
|
||||
'is_show' => 1,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'PROMOTION_POINGEXCHANGE_DETAIL',
|
||||
'title' => '订单详情',
|
||||
'url' => 'pointexchange://shop/pointexchange/detail',
|
||||
'sort' => 1,
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
|
||||
]
|
||||
],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user