1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-25 17:18:05 +08:00
This commit is contained in:
root 2024-11-09 11:35:33 +08:00
parent f9932b5dba
commit 73c32ccc9b
2 changed files with 6 additions and 5 deletions

View File

@ -85,7 +85,7 @@ func init() {
m.ProcessInner()
}
}},
}, chat.FavorAction(), WikiAction("", "ico|png|PNG|jpg|JPG|jpeg|mp4|m4v|mov|MOV|webm|mp3"), mdb.HashAction(mdb.SHORT, nfs.PATH, mdb.FIELD, "time,path,name,cover")), Hand: func(m *ice.Message, arg ...string) {
}, chat.FavorAction(), WikiAction("", "ico|png|PNG|gif|jpg|JPG|jpeg|mp4|m4v|mov|MOV|webm|mp3"), mdb.HashAction(mdb.SHORT, nfs.PATH, mdb.FIELD, "time,path,name,cover")), Hand: func(m *ice.Message, arg ...string) {
if len(kit.Slice(arg, 0, 1)) == 0 {
if mdb.HashSelect(m); aaa.IsTechOrRoot(m) {
m.Push(nfs.PATH, USR_AVATAR).Push(mdb.NAME, "头像库").Push(COVER, USR_ICONS_AVATAR)

View File

@ -20,12 +20,13 @@ func init() {
CLICK = "click"
)
Index.MergeCommands(ice.Commands{
EVENTS: {Help: "事件", Actions: ice.Actions{
EVENTS: {Help: "事件", Actions: ice.MergeActions(ice.Actions{
SUBSCRIBE: {Hand: func(m *ice.Message, arg ...string) {
m.Option(mdb.NAME, ice.Info.Titles)
m.Option(mdb.TEXT, "欢迎光临")
// m.Option(mdb.TEXT, "无边界的扩张业务\n无极限的扩大规模")
m.Option(mdb.TEXT, "ContextOS-SaaS-AI\n软件平台免费提供各种各样的软件系统。")
m.Option(mdb.ICONS, m.MergeLink(m.Resource(ice.Info.NodeIcon)))
m.Cmdy(TEXT, web.LINK, m.MergeLink(nfs.PS))
m.Cmdy(TEXT, web.LINK, m.MergeLink(mdb.Config(m, SUBSCRIBE)))
}},
UNSUBSCRIBE: {Hand: func(m *ice.Message, arg ...string) {
}},
@ -57,6 +58,6 @@ func init() {
m.Cmdy(TEXT, web.LINK, m.MergePodCmd("", msg.Append(ctx.INDEX), kit.Split(msg.Append(ctx.ARGS))))
}
}},
}},
}, mdb.HashAction(SUBSCRIBE, "/s/20240724-enterprise/c/web.team.guanlixitong.portal"))},
})
}