diff --git a/niucloud/addon/hello_world/Addon.php b/niucloud/addon/hello_world/Addon.php deleted file mode 100644 index e4a8850a5..000000000 --- a/niucloud/addon/hello_world/Addon.php +++ /dev/null @@ -1,36 +0,0 @@ - - -
-
-

文本设置

- - - - - -
-
- - -
- - -
- - - - - - - \ No newline at end of file diff --git a/niucloud/addon/hello_world/admin/views/hello_world/index.vue b/niucloud/addon/hello_world/admin/views/hello_world/index.vue deleted file mode 100644 index 51963a943..000000000 --- a/niucloud/addon/hello_world/admin/views/hello_world/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - - - diff --git a/niucloud/addon/hello_world/admin/views/hello_world/site.vue b/niucloud/addon/hello_world/admin/views/hello_world/site.vue deleted file mode 100644 index 405437b34..000000000 --- a/niucloud/addon/hello_world/admin/views/hello_world/site.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - - - diff --git a/niucloud/addon/hello_world/app/adminapi/controller/Index.php b/niucloud/addon/hello_world/app/adminapi/controller/Index.php deleted file mode 100644 index b1ef12988..000000000 --- a/niucloud/addon/hello_world/app/adminapi/controller/Index.php +++ /dev/null @@ -1,28 +0,0 @@ - [ - 'title' => get_lang('dict_diy.component_type_basic'), - 'list' => [ - 'HelloText' => [ - 'title' => 'hello文本', - 'icon' => 'iconfont-iconhuiyuanzhongxin', - 'path' => 'edit-hello-text', - 'support_page' => [], - 'uses' => 0, - 'sort' => 10007, - 'value' => [ - 'height' => 20 - ], - ], - ], - ], - -]; \ No newline at end of file diff --git a/niucloud/addon/hello_world/app/dict/diy/links.php b/niucloud/addon/hello_world/app/dict/diy/links.php deleted file mode 100644 index 8712584d0..000000000 --- a/niucloud/addon/hello_world/app/dict/diy/links.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'title' => get_lang('dict_diy.hello_world_link'), - 'child_list' => [ - [ - 'name' => 'HELLO_WORLD_INDEX', - 'title' => get_lang('dict_diy.hello_world_index'), - 'url' => '/addon/hello_world/pages/index', - 'is_share' => 1, - 'action' => '' - ], - [ - 'name' => 'HELLO_WORLD_INFO', - 'title' => get_lang('dict_diy.hello_world_info'), - 'url' => '/addon/hello_world/pages/info', - 'is_share' => 1, - 'action' => '' - ], - ] - ], -]; \ No newline at end of file diff --git a/niucloud/addon/hello_world/app/dict/diy/pages.php b/niucloud/addon/hello_world/app/dict/diy/pages.php deleted file mode 100644 index 12de10261..000000000 --- a/niucloud/addon/hello_world/app/dict/diy/pages.php +++ /dev/null @@ -1,100 +0,0 @@ - [ - 'hello_world_index' => [ // 页面标识 - "title" => "hello world 首页", // 页面名称 - 'cover' => '', // 页面封面图 - 'preview' => '', // 页面预览图 - 'desc' => '', // 页面描述 - 'mode' => 'diy', // 页面模式:diy:自定义,fixed:固定 - // 页面数据源 - "data" => [ - "global" => [ - "title" => "hello world首页页面", - 'pageStartBgColor' => '#F8F8F8', - 'pageEndBgColor' => '', - 'pageGradientAngle' => 'to bottom', - 'bgUrl' => '', - 'imgWidth' => '', - 'imgHeight' => '', - "bottomTabBarSwitch" => true, - "template" => [ - 'textColor' => "#303133", - 'pageStartBgColor' => '', - 'pageEndBgColor' => '', - 'pageGradientAngle' => 'to bottom', - 'componentStartBgColor' => '', - 'componentEndBgColor' => '', - 'componentGradientAngle' => 'to bottom', - "topRounded" => 0, - "bottomRounded" => 0, - "elementBgColor" => "", - "topElementRounded" => 0, - "bottomElementRounded" => 0, - "margin" => [ - "top" => 0, - "bottom" => 0, - "both" => 0 - ] - ], - 'topStatusBar' => [ - 'bgColor' => "#ffffff", - 'isTransparent' => false, - 'isShow' => true, - 'style' => 'style-1', - 'textColor' => "#333333", - 'textAlign' => 'center', - ], - 'popWindow' => [ - 'imgUrl' => "", - 'imgWidth' => '', - 'imgHeight' => '', - 'count' => -1, - 'show' => 0, - 'link' => [ - 'name' => "" - ], - ] - ], - "value" => [ - [ - "path" => "edit-image-ads", - "id" => "4640ld4k1pu0", - "componentName" => "ImageAds", - "componentTitle" => "图片广告", - "uses" => 0, - "list" => [ - [ - "link" => [ - "name" => "" - ], - "imageUrl" => "static/resource/images/diy/banner.png", - "imgWidth" => 750, - "imgHeight" => 320, - "id" => "2xuytp7622w0" - ] - ], - "ignore" => [], - 'pageStartBgColor' => '', - 'pageEndBgColor' => '', - 'pageGradientAngle' => 'to bottom', - 'componentStartBgColor' => '', - 'componentEndBgColor' => '', - 'componentGradientAngle' => 'to bottom', - "topRounded" => 0, - "bottomRounded" => 0, - "elementBgColor" => "", - "topElementRounded" => 0, - "bottomElementRounded" => 0, - "margin" => [ - "top" => 0, - "bottom" => 0, - "both" => 0 - ] - ] - ] - ] - ] - ] -]; \ No newline at end of file diff --git a/niucloud/addon/hello_world/app/dict/diy/template.php b/niucloud/addon/hello_world/app/dict/diy/template.php deleted file mode 100644 index 6858cfb10..000000000 --- a/niucloud/addon/hello_world/app/dict/diy/template.php +++ /dev/null @@ -1,14 +0,0 @@ - [ - 'title' => get_lang('dict_diy.page_hello_world_index'), - 'page' => '/addon/hello_world/pages/index', - 'action' => '' - ], - 'DIY_HELLO_WORLD_INFO' => [ - 'title' => get_lang('dict_diy.page_hello_world_info'), - 'page' => '/addon/hello_world/pages/info', - 'action' => '' - ], -]; \ No newline at end of file diff --git a/niucloud/addon/hello_world/app/dict/member/account_change_type.php b/niucloud/addon/hello_world/app/dict/member/account_change_type.php deleted file mode 100644 index 6898597fb..000000000 --- a/niucloud/addon/hello_world/app/dict/member/account_change_type.php +++ /dev/null @@ -1,18 +0,0 @@ - [ - //调整 - 'hello_world_test' => [ - //名称 - 'name' => "hello_world账户变化", - //是否增加 - 'inc' => 1, - //是否减少 - 'dec' => 1, - ], - - ], -]; \ No newline at end of file diff --git a/niucloud/addon/hello_world/app/dict/menu/admin.php b/niucloud/addon/hello_world/app/dict/menu/admin.php deleted file mode 100644 index 60c0351d3..000000000 --- a/niucloud/addon/hello_world/app/dict/menu/admin.php +++ /dev/null @@ -1,3 +0,0 @@ - '插件站点菜单', - 'menu_key' => 'niucloud_site_hello', - 'menu_type' => 1, - 'icon' => 'iconfont-iconyingyongshichang', - 'api_url' => '', - 'router_path' => 'hello_world', - 'view_path' => 'hello_world/site', - 'methods' => '', - 'sort' => 100, - 'status' => 1, - 'is_show' => 1, - ] -]; diff --git a/niucloud/addon/hello_world/app/dict/notice/notice.php b/niucloud/addon/hello_world/app/dict/notice/notice.php deleted file mode 100644 index 2cb6e4e9a..000000000 --- a/niucloud/addon/hello_world/app/dict/notice/notice.php +++ /dev/null @@ -1,19 +0,0 @@ - [ - 'addon' => 'hello_world', - 'key' => 'recharge_success', - 'receiver_type' => 1, - 'name' => '充值成功通知', - 'title' => '会员充值成功后发送', - 'async' => true, - 'variable' => [ - 'price' => '充值金额', - 'balance' => '充值后账户', - 'time' => '充值时间', - 'trade_no' => '交易单号' - ], - ] - -]; diff --git a/niucloud/addon/hello_world/app/dict/notice/sms.php b/niucloud/addon/hello_world/app/dict/notice/sms.php deleted file mode 100644 index 6047ba416..000000000 --- a/niucloud/addon/hello_world/app/dict/notice/sms.php +++ /dev/null @@ -1,7 +0,0 @@ - [ - 'content' => '您充值金额¥{price}, 充值后金额¥{balance}', - ] - -]; diff --git a/niucloud/addon/hello_world/app/dict/notice/weapp.php b/niucloud/addon/hello_world/app/dict/notice/weapp.php deleted file mode 100644 index c07c422b1..000000000 --- a/niucloud/addon/hello_world/app/dict/notice/weapp.php +++ /dev/null @@ -1,14 +0,0 @@ - [ - 'tid' => '755', - 'content' => [ - ['交易单号', '{trade_no}', 'keyword1'], - ['充值金额', '{price}', 'keyword2'], - ['账户余额', '{balance}', 'keyword3'], - ['充值时间', '{time}', 'keyword4'], - ], - 'kid_list' => [1, 3, 4, 2], - 'scene_desc' => '' - ] -]; \ No newline at end of file diff --git a/niucloud/addon/hello_world/app/dict/notice/wechat.php b/niucloud/addon/hello_world/app/dict/notice/wechat.php deleted file mode 100644 index f3ad7698f..000000000 --- a/niucloud/addon/hello_world/app/dict/notice/wechat.php +++ /dev/null @@ -1,11 +0,0 @@ - [ - 'temp_key' => '52552', - 'keyword_name_list' => [ '充值时间', '充值金额' ], - 'content' => [ - [ '充值时间', '{time}', 'time1' ], - [ '充值金额', '{price}', 'amount3' ], - ] - ] -]; \ No newline at end of file diff --git a/niucloud/addon/hello_world/app/dict/schedule/schedule.php b/niucloud/addon/hello_world/app/dict/schedule/schedule.php deleted file mode 100644 index 57867a985..000000000 --- a/niucloud/addon/hello_world/app/dict/schedule/schedule.php +++ /dev/null @@ -1,15 +0,0 @@ - 'addon_schedule', - 'name' => '插件计划任务', - 'desc' => '', - 'time' => [ - 'type' => 'min', - 'min' => 1 - ], - 'class' => 'addon\hello_world\app\job\AddonSchedule', - 'function' => '' - ], -]; diff --git a/niucloud/addon/hello_world/app/event.php b/niucloud/addon/hello_world/app/event.php deleted file mode 100644 index ae85b7ce3..000000000 --- a/niucloud/addon/hello_world/app/event.php +++ /dev/null @@ -1,16 +0,0 @@ - [ - ], - - 'listen' => [ - - //应用管理 - 'AppManage' => ['addon\hello_world\app\listener\AppManageListener'], - ], - - 'subscribe' => [ - ], -]; diff --git a/niucloud/addon/hello_world/app/job/AddonSchedule.php b/niucloud/addon/hello_world/app/job/AddonSchedule.php deleted file mode 100644 index a3037da3d..000000000 --- a/niucloud/addon/hello_world/app/job/AddonSchedule.php +++ /dev/null @@ -1,27 +0,0 @@ - 'hello world演示数据', -]; diff --git a/niucloud/addon/hello_world/app/lang/zh-cn/dict.php b/niucloud/addon/hello_world/app/lang/zh-cn/dict.php deleted file mode 100644 index 4d3a6f528..000000000 --- a/niucloud/addon/hello_world/app/lang/zh-cn/dict.php +++ /dev/null @@ -1,27 +0,0 @@ - [ - 'page_hello_world_index' => 'hello 首页', - 'page_hello_world_info' => 'hello 信息', - 'hello_world_title' => 'hello world', - 'hello_world_link' => 'hello world链接', - 'hello_world_index' => 'hello world index 插件', - 'hello_world_info' => 'hello world info 插件' - ], - 'dict_site_layout' => [ - 'hellow_world' => '你好' - ] -]; diff --git a/niucloud/addon/hello_world/app/lang/zh-cn/validate.php b/niucloud/addon/hello_world/app/lang/zh-cn/validate.php deleted file mode 100644 index f970c298b..000000000 --- a/niucloud/addon/hello_world/app/lang/zh-cn/validate.php +++ /dev/null @@ -1,18 +0,0 @@ - 100, - -]; diff --git a/niucloud/addon/hello_world/app/listener/AppManageListener.php b/niucloud/addon/hello_world/app/listener/AppManageListener.php deleted file mode 100644 index 383796650..000000000 --- a/niucloud/addon/hello_world/app/listener/AppManageListener.php +++ /dev/null @@ -1,47 +0,0 @@ - [ - //插件如果要单独分类展示,需要专门定义 - [ - "key" => "hello_world_category", - "name" => "第三方应用", - ], - ], - [ - "addon" => "hello_world", - "title" => "hello world", - "category" => "hello_world_category", //设置插件对应展示分类,默认basic - "desc" => "hello world 应用展示", - "icon" => addon_resource("hello_world", "icon.png"), //图标 - "cover" => "", //封面 - "url" => "/hello_world" - ], - ]; - } -} \ No newline at end of file diff --git a/niucloud/addon/hello_world/app/listener/SiteLayout.php b/niucloud/addon/hello_world/app/listener/SiteLayout.php deleted file mode 100644 index dea2eb6bb..000000000 --- a/niucloud/addon/hello_world/app/listener/SiteLayout.php +++ /dev/null @@ -1,29 +0,0 @@ - get_lang("dict_site_layout.hellow_world"), - "key" => "hellow", - "image" => "static/resource/images/system/layout-hellow.jpg", - "sort" => 1 - ]; - } -} \ No newline at end of file diff --git a/niucloud/addon/hello_world/info.json b/niucloud/addon/hello_world/info.json deleted file mode 100644 index 79f13f610..000000000 --- a/niucloud/addon/hello_world/info.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "title": "hello world", - "desc": "Niucloud hello world演示插件", - "key": "hello_world", - "version": "1.0.1", - "author": "niucloud", - "type": "app", - "support_app": "" -} diff --git a/niucloud/addon/hello_world/package/admin-package.json b/niucloud/addon/hello_world/package/admin-package.json deleted file mode 100644 index 526aca605..000000000 --- a/niucloud/addon/hello_world/package/admin-package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "dependencies": { - } -} diff --git a/niucloud/addon/hello_world/package/composer.json b/niucloud/addon/hello_world/package/composer.json deleted file mode 100644 index 8c8051f38..000000000 --- a/niucloud/addon/hello_world/package/composer.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "require": { - - } -} diff --git a/niucloud/addon/hello_world/package/uni-app-package.json b/niucloud/addon/hello_world/package/uni-app-package.json deleted file mode 100644 index c91f0d264..000000000 --- a/niucloud/addon/hello_world/package/uni-app-package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "weixin-js-sdk": "^1.6.0" - } -} diff --git a/niucloud/addon/hello_world/package/uni-app-pages.php b/niucloud/addon/hello_world/package/uni-app-pages.php deleted file mode 100644 index 843369b6d..000000000 --- a/niucloud/addon/hello_world/package/uni-app-pages.php +++ /dev/null @@ -1,16 +0,0 @@ - << - - hello-world:演示插件文本——自定义组件 - - - - - - \ No newline at end of file diff --git a/niucloud/addon/hello_world/uni-app/components/fixed/hello-index/index.vue b/niucloud/addon/hello_world/uni-app/components/fixed/hello-index/index.vue deleted file mode 100644 index d02fe27cd..000000000 --- a/niucloud/addon/hello_world/uni-app/components/fixed/hello-index/index.vue +++ /dev/null @@ -1,14 +0,0 @@ - - - - - \ No newline at end of file diff --git a/niucloud/addon/hello_world/uni-app/locale/en.json b/niucloud/addon/hello_world/uni-app/locale/en.json deleted file mode 100644 index 4efc14c30..000000000 --- a/niucloud/addon/hello_world/uni-app/locale/en.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "hello_world.pages.index": "hello_world index" -} \ No newline at end of file diff --git a/niucloud/addon/hello_world/uni-app/locale/zh-Hans.json b/niucloud/addon/hello_world/uni-app/locale/zh-Hans.json deleted file mode 100644 index 47eaa2c6c..000000000 --- a/niucloud/addon/hello_world/uni-app/locale/zh-Hans.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "pages.index": "hello_world首页" -} diff --git a/niucloud/addon/hello_world/uni-app/locale/zh-Hans/pages.index.json b/niucloud/addon/hello_world/uni-app/locale/zh-Hans/pages.index.json deleted file mode 100644 index 1770d8c57..000000000 --- a/niucloud/addon/hello_world/uni-app/locale/zh-Hans/pages.index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "list": "文章列表", - "noData": "~ 暂无数据 ~", - "all": "全部", - "end": "-- 到底了 --", - "searchPlaceholder": "请输入搜索关键词" -} diff --git a/niucloud/addon/hello_world/uni-app/pages/index.vue b/niucloud/addon/hello_world/uni-app/pages/index.vue deleted file mode 100644 index 88943acd4..000000000 --- a/niucloud/addon/hello_world/uni-app/pages/index.vue +++ /dev/null @@ -1,25 +0,0 @@ - - - - -