mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 09:34:05 +08:00
opt some
This commit is contained in:
parent
10819db8ef
commit
dd920ee22c
@ -24,6 +24,12 @@ func init() {
|
|||||||
return // 节点列表
|
return // 节点列表
|
||||||
}
|
}
|
||||||
if len(arg) == 1 {
|
if len(arg) == 1 {
|
||||||
|
if m.IsCliUA() {
|
||||||
|
m.Option(ice.MSG_USERNAME, "root")
|
||||||
|
m.Option(ice.MSG_USERROLE, "tech")
|
||||||
|
m.Cmdy(web.SHARE_LOCAL, "bin/ice.bin")
|
||||||
|
return
|
||||||
|
}
|
||||||
if s := m.Cmdx(web.SPACE, arg[0], "web.chat.website", "show", "index.iml", "Header", "", "River", "", "Action", "", "Footer", ""); s != "" {
|
if s := m.Cmdx(web.SPACE, arg[0], "web.chat.website", "show", "index.iml", "Header", "", "River", "", "Action", "", "Footer", ""); s != "" {
|
||||||
m.RenderResult(s)
|
m.RenderResult(s)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user