初始上传

This commit is contained in:
2026-04-04 17:27:12 +08:00
parent 4d80d28eb4
commit b7e11774ee
11191 changed files with 1588469 additions and 0 deletions

View 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' => []
];

View File

@@ -0,0 +1,55 @@
<?php
// 事件定义文件
return [
'bind' => [
],
'listen' => [
//展示活动
'ShowPromotion' => [
'addon\shopcomponent\event\ShowPromotion',
],
'WeappMenu' => [
'addon\shopcomponent\event\WeappMenu',
],
'GoodsEdit' => [
'addon\shopcomponent\event\GoodsEdit'
],
// 商品删除
'DeleteGoods' => [
'addon\shopcomponent\event\DeleteGoods'
],
// 订单支付成功
'OrderPay' => [
'addon\shopcomponent\event\OrderPay'
],
// 发货成功
'OrderDeliveryAfter' => [
'addon\shopcomponent\event\OrderDeliveryAfter'
],
// 订单收货
'OrderTakeDeliveryAfter' => [
'addon\shopcomponent\event\OrderTakeDeliveryAfter'
],
// 发起维权申请
'orderRefundApply' => [
'addon\shopcomponent\event\OrderRefundApply'
],
// 维权状态变更
'RefundStatusChange' => [
'addon\shopcomponent\event\RefundStatusChange'
],
// 同步微信类目
'SyncWxCategory' => [
'addon\shopcomponent\event\SyncWxCategory'
],
// 异步回调
'shopcomponentNotify' => [
'addon\shopcomponent\event\ShopcomponentNotify'
]
],
'subscribe' => [
],
];

View File

@@ -0,0 +1,21 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
return [
'name' => 'shopcomponent',
'title' => '微信视频号',
'description' => '由于微信接口限制已停用,该插件无法使用,实现小程序与视频号的连接',
'type' => 'tool', //插件类型 system :系统插件(自动安装), promotion:扩展营销插件 tool:工具插件
'status' => 1,
'author' => '',
'version' => '5.5.3',
'version_no' => '553250709001',
'content' => '',
];

View File

@@ -0,0 +1,45 @@
<?php
// +----------------------------------------------------------------------
// | 平台端菜单设置
// +----------------------------------------------------------------------
return [
[
'name' => 'SHOP_COMPONENT_ROOT',
'title' => '视频号',
'url' => 'shopcomponent://shop/goods/lists',
'picture' => 'addon/shopcomponent/shop/view/public/img/live_new.png',
'picture_selected' => 'addon/shopcomponent/shop/view/public/img/live_select.png',
'parent' => 'PROMOTION_TOOL',
'is_show' => 1,
'sort' => 1,
'child_list' => [
[
'name' => 'SHOP_COMPONENT_GOODS',
'title' => '商品管理',
'url' => 'shopcomponent://shop/goods/lists',
'is_show' => 1,
'sort' => 1,
'child_list' => [
]
],
[
'name' => 'SHOP_COMPONENT_CATEGORY',
'title' => '类目管理',
'url' => 'shopcomponent://shop/category/lists',
'is_show' => 1,
'sort' => 2,
'child_list' => [
]
],
[
'name' => 'SHOP_COMPONENT_ACCESS',
'title' => '视频号接入',
'url' => 'shopcomponent://shop/goods/access',
'is_show' => 1,
'sort' => 3,
'child_list' => [
]
],
]
]
];