1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-25 17:18:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-01-21 23:08:11 +08:00
parent f6d3c2821d
commit 2c5be00d12
2 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,9 @@ import (
)
func _dream_list(m *ice.Message) *ice.Message {
if ice.Info.NodeType == WORKER {
return m
}
list := m.CmdMap(SPACE, mdb.NAME)
mdb.HashSelect(m).Table(func(value ice.Maps) {
if space, ok := list[value[mdb.NAME]]; ok {

View File

@ -12,7 +12,7 @@ func init() {
Index.MergeCommands(ice.Commands{
SCRIPT: {Name: "script zone id auto", Help: "脚本化", Icon: "script.png", Actions: ice.MergeActions(ice.Actions{
mdb.INSERT: {Name: "insert zone space index"},
}, mdb.ImportantZoneAction(mdb.FIELDS, "time,id,space,index,play,status,style")), Hand: func(m *ice.Message, arg ...string) {
}, mdb.ImportantZoneAction(mdb.FIELDS, "time,id,space,index,play,status,style"), mdb.ExportZoneAction()), Hand: func(m *ice.Message, arg ...string) {
if mdb.ZoneSelect(m.Options(mdb.CACHE_LIMIT, "30"), arg...).Display(""); len(arg) == 0 {
m.PushAction(cli.RECORD, mdb.REMOVE).Action(mdb.CREATE, cli.STOP)
} else {