forked from x/ContextOS
add wx.shy
This commit is contained in:
parent
80ce15d2c2
commit
3f04db079f
@ -11,6 +11,7 @@ import (
|
||||
_ "shylinux.com/x/icebergs/misc/input"
|
||||
_ "shylinux.com/x/icebergs/misc/java"
|
||||
_ "shylinux.com/x/icebergs/misc/node"
|
||||
_ "shylinux.com/x/icebergs/misc/wx"
|
||||
)
|
||||
|
||||
func main() { print(ice.Run()) }
|
||||
|
@ -45,7 +45,7 @@ Volcanos("user", {_trans: kit.Dict(
|
||||
html.INPUT, kit.Dict(
|
||||
ice.POD, "空间", ice.CTX, "模块", ice.CMD, "命令", ice.HELP, "帮助",
|
||||
mdb.TIME, "时间", mdb.HASH, "索引", mdb.ZONE, "分类", mdb.ID, "序号",
|
||||
mdb.TYPE, "类型", mdb.NAME, "名称", mdb.TEXT, "详情", mdb.ICON, "图标",
|
||||
mdb.TYPE, "类型", mdb.NAME, "名称", mdb.TEXT, "详情", mdb.ICON, "图标", mdb.ICONS, "图标",
|
||||
mdb.COUNT, "数量", mdb.TOTAL, "总数",
|
||||
mdb.KEY, "键值", mdb.VALUE, "取值", mdb.STATUS, "状态",
|
||||
ctx.ACTION, "操作", ctx.INDEX, "命令", ctx.ARGS, "参数",
|
||||
@ -62,6 +62,11 @@ Volcanos("user", {_trans: kit.Dict(
|
||||
nfs.BRANCH, "分支", nfs.VERSION, "版本",
|
||||
nfs.TEMPLATE, "模板", nfs.BINARY, "镜像",
|
||||
nfs.DIR_ROOT, "目录",
|
||||
aaa.LANGUAGE, "语言",
|
||||
aaa.COUNTRY, "国家",
|
||||
aaa.PROVINCE, "省份", aaa.CITY, "城市",
|
||||
aaa.USERNICK, "昵称",
|
||||
aaa.USERNAME, "用户",
|
||||
"commit", "提交", "message", "信息",
|
||||
"online", "在线", "offline", "离线",
|
||||
"extra", "其它",
|
||||
|
16
src/template/web.chat.wx.text/link.xml
Normal file
16
src/template/web.chat.wx.text/link.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<xml>
|
||||
<FromUserName><![CDATA[{{.Option "access"}}]]></FromUserName>
|
||||
<ToUserName><![CDATA[{{.Option "username"}}]]></ToUserName>
|
||||
<CreateTime>{{.Option "CreateTime"}}</CreateTime>
|
||||
<MsgType><![CDATA[news]]></MsgType>
|
||||
<ArticleCount>1</ArticleCount>
|
||||
<Articles>
|
||||
<item>
|
||||
<Title><![CDATA[{{.Option "name"}}]]></Title>
|
||||
<Description><![CDATA[{{.Option "text"}}]]></Description>
|
||||
<PicUrl><![CDATA[{{.Option "icons"}}]]></PicUrl>
|
||||
<Url><![CDATA[{{.Option "link"}}]]></Url>
|
||||
</item>
|
||||
</Articles>
|
||||
</xml>
|
||||
|
8
src/template/web.chat.wx.text/welcome.xml
Normal file
8
src/template/web.chat.wx.text/welcome.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<xml>
|
||||
<FromUserName><![CDATA[{{.Option "access"}}]]></FromUserName>
|
||||
<ToUserName><![CDATA[{{.Option "username"}}]]></ToUserName>
|
||||
<CreateTime>{{.Option "CreateTime"}}</CreateTime>
|
||||
<MsgType><![CDATA[text]]></MsgType>
|
||||
<Content><![CDATA[{{.Option "text"}}]]></Content>
|
||||
</xml>
|
||||
|
@ -1,26 +1,47 @@
|
||||
{
|
||||
"2598af": {
|
||||
"0eceda777771c3aef49505c85b26f663": {
|
||||
"meta": {
|
||||
"name": "busybox",
|
||||
"text": "docker run -w /root -it busybox",
|
||||
"time": "2023-07-29 11:33:27.816",
|
||||
"type": "shell"
|
||||
}
|
||||
},
|
||||
"45f8b9": {
|
||||
"meta": {
|
||||
"name": "alpine",
|
||||
"text": "docker run -w /root -it alpine",
|
||||
"time": "2023-07-29 11:33:50.015",
|
||||
"type": "shell"
|
||||
}
|
||||
},
|
||||
"b86b7a": {
|
||||
"meta": {
|
||||
"name": "在线音乐",
|
||||
"text": "https://tools.liumingye.cn/music/#/",
|
||||
"time": "2023-10-09 11:32:17.094",
|
||||
"name": "研发 studio",
|
||||
"text": "https://shylinux.com/?share=95e8a3\u0026river=project\u0026storm=studio",
|
||||
"time": "2023-11-09 11:25:43.228",
|
||||
"type": "link"
|
||||
}
|
||||
},
|
||||
"27c7dca946eaadf1f7626f59d3a84741": {
|
||||
"meta": {
|
||||
"text": "http://mmbiz.qpic.cn/mmbiz_jpg/sCJZHmp0V0fJAiaicMzjLjTftE7ymcnHSUGS2pnicTMXqL9Mk1ibdllr5DwgD48VSloxzT4VvcpmCaicVkRWFcx4w8w/0",
|
||||
"time": "2023-11-09 11:20:28.994",
|
||||
"type": "image"
|
||||
}
|
||||
},
|
||||
"28413fe062bd1153607c7baf5fa771ac": {
|
||||
"meta": {
|
||||
"name": "weixin.qq.com",
|
||||
"text": "http://weixin.qq.com/r/ZRGwqBjEzUWyrVzL90R3",
|
||||
"time": "2023-11-09 15:57:21.114",
|
||||
"type": "link"
|
||||
}
|
||||
},
|
||||
"29515bb9a5d5e558e2b3ba71e3b6e037": {
|
||||
"meta": {
|
||||
"text": "12355",
|
||||
"time": "2023-11-09 12:00:37.155",
|
||||
"type": "text"
|
||||
}
|
||||
},
|
||||
"7186a40a4392a3076f8a725865b4d586": {
|
||||
"meta": {
|
||||
"name": "mmbiz.qpic.cn",
|
||||
"text": "http://mmbiz.qpic.cn/mmbiz_jpg/sCJZHmp0V0fJAiaicMzjLjTftE7ymcnHSUtUpxcshiaurwrRkCGibjItH2oB7D9MR9gr8duBs8ZyRZQtRcRJficQ1mg/0",
|
||||
"time": "2023-11-09 11:28:48.883",
|
||||
"type": "image"
|
||||
}
|
||||
},
|
||||
"9003d1df22eb4d3820015070385194c8": {
|
||||
"meta": {
|
||||
"text": "pwd",
|
||||
"time": "2023-11-09 13:46:02.287",
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
55
usr/local/export/web.chat.location/hash.json
Normal file
55
usr/local/export/web.chat.location/hash.json
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
"164204": {
|
||||
"meta": {
|
||||
"latitude": "22.627741",
|
||||
"longitude": "113.860259",
|
||||
"name": "广东省深圳市宝安区鹤洲路",
|
||||
"scale": "15",
|
||||
"text": "广东省深圳市宝安区鹤洲路",
|
||||
"time": "2023-11-09 11:10:32.773"
|
||||
}
|
||||
},
|
||||
"896b91": {
|
||||
"meta": {
|
||||
"latitude": "22.627743",
|
||||
"longitude": "113.860214",
|
||||
"name": "current",
|
||||
"time": "2023-11-09 16:35:54.221"
|
||||
}
|
||||
},
|
||||
"a1e11f": {
|
||||
"meta": {
|
||||
"latitude": "22.627735",
|
||||
"longitude": "113.860138",
|
||||
"name": "current",
|
||||
"time": "2023-11-09 16:32:37.868"
|
||||
}
|
||||
},
|
||||
"c3e3ee": {
|
||||
"meta": {
|
||||
"latitude": "22.627468",
|
||||
"longitude": "113.860153",
|
||||
"name": "广东省深圳市宝安区区5巷6号",
|
||||
"scale": "15",
|
||||
"text": "广东省深圳市宝安区区5巷6号",
|
||||
"time": "2023-11-09 11:12:52.463"
|
||||
}
|
||||
},
|
||||
"d155a5": {
|
||||
"meta": {
|
||||
"latitude": "22.62774658203125",
|
||||
"longitude": "113.86013793945312",
|
||||
"name": "current",
|
||||
"time": "2023-11-09 16:32:00.420"
|
||||
}
|
||||
},
|
||||
"e1bc97": {
|
||||
"meta": {
|
||||
"latitude": "22.627468",
|
||||
"longitude": "113.860153",
|
||||
"scale": "15",
|
||||
"text": "广东省深圳市宝安区区5巷6号",
|
||||
"time": "2023-11-09 11:24:43.410"
|
||||
}
|
||||
}
|
||||
}
|
13
usr/local/export/web.chat.wx.menu/hash.json
Normal file
13
usr/local/export/web.chat.wx.menu/hash.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"6c428f2a2570bcb73784536c11cb90a1": {
|
||||
"meta": {
|
||||
"name": "首页",
|
||||
"river": "1",
|
||||
"scene": "main",
|
||||
"storm": "1",
|
||||
"text": "/",
|
||||
"time": "2023-11-10 02:00:36.555",
|
||||
"type": "view"
|
||||
}
|
||||
}
|
||||
}
|
14
usr/local/export/web.chat.wx.qrcode/hash.json
Normal file
14
usr/local/export/web.chat.wx.qrcode/hash.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"21a14a41a0264bd74709f244fa2c5ceb": {
|
||||
"meta": {
|
||||
"expire_seconds": "3600",
|
||||
"icons": "usr/icons/Activity Monitor.png",
|
||||
"index": "cli.runtime",
|
||||
"link": "http://weixin.qq.com/q/02eQCqoFPIf2G1i6FdhBcb",
|
||||
"name": "runtime",
|
||||
"text": "cli.runtime",
|
||||
"time": "2023-11-10 02:48:38.224",
|
||||
"type": "QR_STR_SCENE"
|
||||
}
|
||||
}
|
||||
}
|
14
usr/package-lock.json
generated
14
usr/package-lock.json
generated
@ -7,6 +7,7 @@
|
||||
"dependencies": {
|
||||
"bootstrap-icons": "^1.11.1",
|
||||
"echarts": "^5.4.3",
|
||||
"lib": "^5.1.0",
|
||||
"xlsx": "^0.18.5",
|
||||
"xterm": "^5.2.1",
|
||||
"xterm-addon-fit": "^0.7.0",
|
||||
@ -84,6 +85,14 @@
|
||||
"node": ">=0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/lib": {
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/lib/-/lib-5.1.0.tgz",
|
||||
"integrity": "sha512-RqaGSpLSf6vtSls86+kUqMuQkNiXLtUFbKrh/mKOuZmi3ENJOXHsScw8/grKOLzDgYTgOvpFPGgmNsEh5f2yuA==",
|
||||
"engines": {
|
||||
"node": ">=4.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/ssf": {
|
||||
"version": "0.11.2",
|
||||
"resolved": "https://registry.npmjs.org/ssf/-/ssf-0.11.2.tgz",
|
||||
@ -210,6 +219,11 @@
|
||||
"resolved": "https://registry.npmjs.org/frac/-/frac-1.1.2.tgz",
|
||||
"integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA=="
|
||||
},
|
||||
"lib": {
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/lib/-/lib-5.1.0.tgz",
|
||||
"integrity": "sha512-RqaGSpLSf6vtSls86+kUqMuQkNiXLtUFbKrh/mKOuZmi3ENJOXHsScw8/grKOLzDgYTgOvpFPGgmNsEh5f2yuA=="
|
||||
},
|
||||
"ssf": {
|
||||
"version": "0.11.2",
|
||||
"resolved": "https://registry.npmjs.org/ssf/-/ssf-0.11.2.tgz",
|
||||
|
@ -2,6 +2,7 @@
|
||||
"dependencies": {
|
||||
"bootstrap-icons": "^1.11.1",
|
||||
"echarts": "^5.4.3",
|
||||
"lib": "^5.1.0",
|
||||
"xlsx": "^0.18.5",
|
||||
"xterm": "^5.2.1",
|
||||
"xterm-addon-fit": "^0.7.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user