初始上传
This commit is contained in:
77
addon/cardservice/config/cashier_auth.php
Executable file
77
addon/cardservice/config/cashier_auth.php
Executable file
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* Niushop商城系统 - 团队十年电商经验汇集巨献!
|
||||
* =========================================================
|
||||
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
|
||||
* ----------------------------------------------
|
||||
* 官方网址: https://www.niushop.com
|
||||
|
||||
* =========================================================
|
||||
*/
|
||||
return [
|
||||
[
|
||||
'name' => 'reserve_manage',
|
||||
'title' => '预约',
|
||||
'type' => 'page',
|
||||
'url' => '',
|
||||
'children' => [
|
||||
[
|
||||
'name' => 'reserve_index',
|
||||
'title' => '查看',
|
||||
'type' => 'page',
|
||||
'url' => 'pages/reserve/index',
|
||||
],
|
||||
[
|
||||
'name' => 'reserve_add',
|
||||
'title' => '添加预约',
|
||||
'type' => 'api',
|
||||
'url' => 'cardservice/storeapi/reserve/add',
|
||||
],
|
||||
[
|
||||
'name' => 'reserve_edit',
|
||||
'title' => '修改预约',
|
||||
'type' => 'api',
|
||||
'url' => 'cardservice/storeapi/reserve/update',
|
||||
],
|
||||
[
|
||||
'name' => 'reserve_confirm',
|
||||
'title' => '确认预约',
|
||||
'type' => 'api',
|
||||
'url' => 'cardservice/storeapi/reserve/confirm',
|
||||
],
|
||||
[
|
||||
'name' => 'reserve_complete',
|
||||
'title' => '完成预约',
|
||||
'type' => 'api',
|
||||
'url' => 'cardservice/storeapi/reserve/complete',
|
||||
],
|
||||
[
|
||||
'name' => 'reserve_cancel',
|
||||
'title' => '取消预约',
|
||||
'type' => 'api',
|
||||
'url' => 'cardservice/storeapi/reserve/cancel',
|
||||
],
|
||||
[
|
||||
'name' => 'reserve_confirm_tostore',
|
||||
'title' => '确认到店',
|
||||
'type' => 'api',
|
||||
'url' => 'cardservice/storeapi/reserve/confirmtostore',
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
'name' => 'reserve_config',
|
||||
'title' => '预约设置',
|
||||
'type' => 'page',
|
||||
'url' => 'pages/reserve/config',
|
||||
'parent' => 'config',
|
||||
'children' => [
|
||||
[
|
||||
'name' => 'set_reserve_config',
|
||||
'title' => '配置',
|
||||
'type' => 'api',
|
||||
'url' => 'cardservice/storeapi/reserve/setconfig',
|
||||
],
|
||||
]
|
||||
],
|
||||
];
|
||||
116
addon/cardservice/config/diy_view.php
Executable file
116
addon/cardservice/config/diy_view.php
Executable file
@@ -0,0 +1,116 @@
|
||||
<?php
|
||||
/**
|
||||
* Niushop商城系统 - 团队十年电商经验汇集巨献!
|
||||
* =========================================================
|
||||
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
|
||||
* ----------------------------------------------
|
||||
* 官方网址: https://www.niushop.com
|
||||
* =========================================================
|
||||
*/
|
||||
return [
|
||||
|
||||
// 自定义模板页面类型,格式:[ 'title' => '页面类型名称', 'name' => '页面标识', 'path' => '页面路径', 'value' => '页面数据,json格式' ]
|
||||
'template' => [],
|
||||
|
||||
// 后台自定义组件——装修
|
||||
'util' => [],
|
||||
|
||||
// 自定义页面路径
|
||||
'link' => [
|
||||
[
|
||||
'name' => 'CARDS_SERVICE',
|
||||
'title' => '项目管理',
|
||||
'parent' => '',
|
||||
'wap_url' => '',
|
||||
'web_url' => '',
|
||||
'sort' => 2,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'CARDS_SERVICE_LINK',
|
||||
'title' => '服务项目',
|
||||
'wap_url' => '',
|
||||
'web_url' => '',
|
||||
'sort' => 1,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'CARDS_SERVICE_BASIC',
|
||||
'title' => '基础链接',
|
||||
'wap_url' => '',
|
||||
'web_url' => '',
|
||||
'sort' => 1,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'CARDS_ERVICE_SERVICE',
|
||||
'title' => '项目专区',
|
||||
'wap_url' => '/pages_promotion/cardservice/service_goods/service_list',
|
||||
'web_url' => '',
|
||||
],
|
||||
[
|
||||
'name' => 'CARDS_ERVICE_CARD',
|
||||
'title' => '卡项专区',
|
||||
'wap_url' => '/pages_promotion/cardservice/card/list',
|
||||
'web_url' => '',
|
||||
],
|
||||
[
|
||||
'name' => 'CARDS_ERVICE_RESERVE',
|
||||
'title' => '项目预约',
|
||||
'wap_url' => '/pages_promotion/cardservice/service_goods/reserve_list',
|
||||
'web_url' => '',
|
||||
],
|
||||
]
|
||||
],
|
||||
[
|
||||
'name' => 'CARDS_SERVICE_MEMBER',
|
||||
'title' => '会员链接',
|
||||
'wap_url' => '',
|
||||
'web_url' => '',
|
||||
'sort' => 2,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'MY_RESERVE',
|
||||
'title' => '我的预约',
|
||||
'wap_url' => '/pages_promotion/cardservice/service_goods/my_reserve_list',
|
||||
'web_url' => '',
|
||||
'child_list' => []
|
||||
],
|
||||
[
|
||||
'name' => 'MY_CARD',
|
||||
'title' => '我的卡包',
|
||||
'wap_url' => '/pages_promotion/cardservice/card/my_card',
|
||||
'web_url' => '',
|
||||
'child_list' => []
|
||||
],
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
'name' => 'CARDS_SERVICE_CATEGORY_LINK',
|
||||
'title' => '项目分类',
|
||||
'wap_url' => '/pages_promotion/cardservice/service_goods/service_list',
|
||||
'web_url' => '',
|
||||
'sort' => 2,
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
],
|
||||
|
||||
// 自定义图标库
|
||||
'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' => []
|
||||
];
|
||||
52
addon/cardservice/config/event.php
Executable file
52
addon/cardservice/config/event.php
Executable file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
// 事件定义文件
|
||||
return [
|
||||
'bind' => [
|
||||
|
||||
],
|
||||
'listen' => [
|
||||
//展示活动
|
||||
'ShowPromotion' => [
|
||||
'addon\cardservice\event\ShowPromotion',
|
||||
],
|
||||
'GoodsClass' => [
|
||||
'addon\cardservice\event\ServiceGoodsClass',
|
||||
'addon\cardservice\event\CardGoodsClass'
|
||||
],
|
||||
'Verify' => [
|
||||
'addon\cardservice\event\CardGoodsVerify',//卡项商品核销
|
||||
],
|
||||
'VerifyType' => [
|
||||
'addon\cardservice\event\VerifyType',
|
||||
],
|
||||
'CronMemberCardExpire' => [
|
||||
'addon\cardservice\event\CronMemberCardExpire'
|
||||
],
|
||||
// 订单营销活动类型
|
||||
'OrderPromotionType' => [
|
||||
'addon\cardservice\event\OrderPromotionType',
|
||||
],
|
||||
|
||||
// 活动专区——秒杀页面配置
|
||||
'PromotionZoneConfig' => [
|
||||
'addon\cardservice\event\CardServiceZoneConfig',
|
||||
],
|
||||
|
||||
'MemberDetail' => [
|
||||
'addon\cardservice\event\MemberDetail',
|
||||
],
|
||||
//退款完成
|
||||
'OrderRefundFinish' => [
|
||||
'addon\cardservice\event\OrderRefundFinish',
|
||||
],
|
||||
//订单关闭
|
||||
'OrderClose' => [
|
||||
'addon\cardservice\event\OrderClose',
|
||||
],
|
||||
'DeleteGoodsCheck' => [
|
||||
'addon\cardservice\event\DeleteGoodsCheck',
|
||||
],
|
||||
],
|
||||
'subscribe' => [
|
||||
],
|
||||
];
|
||||
20
addon/cardservice/config/info.php
Executable file
20
addon/cardservice/config/info.php
Executable file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Niushop商城系统 - 团队十年电商经验汇集巨献!
|
||||
* =========================================================
|
||||
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
|
||||
* ----------------------------------------------
|
||||
* 官方网址: https://www.niushop.com
|
||||
* =========================================================
|
||||
*/
|
||||
return [
|
||||
'name' => 'cardservice',
|
||||
'title' => '卡项与服务商品',
|
||||
'description' => '创建卡项与服务商品',
|
||||
'type' => 'tool', //插件类型 system :系统插件(自动安装), promotion:扩展营销插件 tool:工具插件
|
||||
'status' => 1,
|
||||
'author' => '',
|
||||
'version' => '5.5.3',
|
||||
'version_no' => '553250709001',
|
||||
'content' => '',
|
||||
];
|
||||
164
addon/cardservice/config/menu_shop.php
Executable file
164
addon/cardservice/config/menu_shop.php
Executable file
@@ -0,0 +1,164 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 店铺端菜单设置
|
||||
// +----------------------------------------------------------------------
|
||||
return [
|
||||
[
|
||||
'name' => 'SERVICE_GOODS_ADD',
|
||||
'title' => '发布项目商品',
|
||||
'parent' => 'GOODS_LIST',
|
||||
'url' => 'cardservice://shop/service/addgoods',
|
||||
'sort' => 13,
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'SERVICE_GOODS_EDIT',
|
||||
'title' => '编辑项目商品',
|
||||
'parent' => 'GOODS_LIST',
|
||||
'url' => 'cardservice://shop/service/editgoods',
|
||||
'sort' => 14,
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'CARD_GOODS_ADD',
|
||||
'title' => '发布卡项商品',
|
||||
'parent' => 'GOODS_LIST',
|
||||
'url' => 'cardservice://shop/card/addgoods',
|
||||
'sort' => 13,
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'CARD_GOODS_EDIT',
|
||||
'title' => '编辑卡项商品',
|
||||
'parent' => 'GOODS_LIST',
|
||||
'url' => 'cardservice://shop/card/editgoods',
|
||||
'sort' => 14,
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'SERVICE_CATEGORY',
|
||||
'title' => '项目分类',
|
||||
'parent' => 'GOODS_MANAGE',
|
||||
'url' => 'cardservice://shop/servicecategory/lists',
|
||||
'is_show' => 1,
|
||||
'is_control' => 1,
|
||||
'is_icon' => 0,
|
||||
'sort' => 3,
|
||||
'picture' => 'app/shop/view/public/img/icon_new/category_new.png',
|
||||
'picture_selected' => 'app/shop/view/public/img/icon_new/category_select.png',
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'SERVICE_CATEGORY_ADD',
|
||||
'title' => '项目分类添加',
|
||||
'url' => 'cardservice://shop/servicecategory/addcategory',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'SERVICE_CATEGORY_EDIT',
|
||||
'title' => '项目分类编辑',
|
||||
'url' => 'cardservice://shop/servicecategory/editcategory',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'SERVICE_CATEGORY_DELETE',
|
||||
'title' => '项目分类删除',
|
||||
'url' => 'cardservice://shop/servicecategory/deletecategory',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'SERVICE_CATEGORY_MODIFY_SORT',
|
||||
'title' => '项目分类排序',
|
||||
'url' => 'cardservice://shop/servicecategory/modifySort',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
]
|
||||
],
|
||||
[
|
||||
'name' => 'SERVICE_YUYUE',
|
||||
'title' => '预约',
|
||||
'url' => 'cardservice://shop/reserve/index',
|
||||
'parent' => 'ORDER_ROOT',
|
||||
'is_show' => 1,
|
||||
'is_control' => 1,
|
||||
'is_icon' => 0,
|
||||
'picture' => 'iconyuyueguanli',
|
||||
'picture_select' => '',
|
||||
'sort' => 3,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'YUYUE_MAMAGE',
|
||||
'title' => '预约管理',
|
||||
'url' => 'cardservice://shop/reserve/index',
|
||||
'is_show' => 1,
|
||||
'is_control' => 1,
|
||||
'is_icon' => 0,
|
||||
'picture' => 'iconyuyueguanli',
|
||||
'picture_select' => '',
|
||||
'sort' => 1,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'YUYUE_DETAIL',
|
||||
'title' => '预约详情',
|
||||
'url' => 'cardservice://shop/reserve/detail',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'YUYUE_CONFIRM',
|
||||
'title' => '确认预约',
|
||||
'url' => 'cardservice://shop/reserve/confirm',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'YUYUE_CANCEL',
|
||||
'title' => '取消预约',
|
||||
'url' => 'cardservice://shop/reserve/cancel',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'YUYUE_TO_STORE',
|
||||
'title' => '确认到店',
|
||||
'url' => 'cardservice://shop/reserve/confirmtostore',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
]
|
||||
]
|
||||
],
|
||||
|
||||
]
|
||||
],
|
||||
/*[
|
||||
'name' => 'GOODS_CARD',
|
||||
'title' => '卡项',
|
||||
'parent' => 'GOODS_LIST',
|
||||
'url' => 'cardservice://shop/card/goodscard',
|
||||
'sort' => 15,
|
||||
'is_show' => 0
|
||||
],
|
||||
[
|
||||
'name' => 'MEMBER_GOODS_CARD',
|
||||
'title' => '会员卡项',
|
||||
'parent' => 'MEMBER_INDEX',
|
||||
'url' => 'cardservice://shop/card/membergoodscard',
|
||||
'sort' => 14,
|
||||
'is_show' => 0
|
||||
],
|
||||
[
|
||||
'name' => 'MEMBER_CARD_GOODS_DETAIL',
|
||||
'title' => '卡项详情',
|
||||
'parent' => 'GOODS_LIST',
|
||||
'url' => 'cardservice://shop/card/detail',
|
||||
'sort' => 16,
|
||||
'is_show' => 0
|
||||
],*/
|
||||
];
|
||||
Reference in New Issue
Block a user