From 29f8b2d86d1cca21b2c66254265277784d1be2f8 Mon Sep 17 00:00:00 2001 From: shylinux Date: Sat, 25 Jul 2020 11:57:55 +0800 Subject: [PATCH] opt some --- src/main.go | 4 ++-- usr/publish/order.js | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main.go b/src/main.go index 2b99a7b9..63cb1154 100644 --- a/src/main.go +++ b/src/main.go @@ -12,10 +12,10 @@ import ( _ "github.com/shylinux/icebergs/misc/totp" _ "github.com/shylinux/icebergs/misc/lark" + _ "github.com/shylinux/icebergs/misc/mp" + _ "github.com/shylinux/icebergs/misc/wx" // _ "github.com/shylinux/icebergs/misc/md" - // _ "github.com/shylinux/icebergs/misc/mp" // _ "github.com/shylinux/icebergs/misc/pi" - // _ "github.com/shylinux/icebergs/misc/wx" // // _ "github.com/shylinux/icebergs/misc/fyne" diff --git a/usr/publish/order.js b/usr/publish/order.js index a1259f52..bea9d565 100644 --- a/usr/publish/order.js +++ b/usr/publish/order.js @@ -1,7 +1,13 @@ Volcanos("onengine", { river: { "product": {name: "产品群", storm: { + "mp": {name: "mp", action: [ + {name: "微信小程序", help: "mp", inputs: [ + {type: "text", name: "path", value: "icebergs/misc/mp/mp.shy"}, + {type: "button", name: "查看", value: "auto"}, + ], index: "web.wiki.word", feature: {display: "/plugin/local/wiki/word.js"}}, + ]}, "lark": {name: "lark", action: [ - {name: "聊天机器人", help: "lark", inputs: [ + {name: "飞书机器人", help: "lark", inputs: [ {type: "text", name: "path", value: "icebergs/misc/lark/lark.shy"}, {type: "button", name: "查看", value: "auto"}, ], index: "web.wiki.word", feature: {display: "/plugin/local/wiki/word.js", style: "word"}},