1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-03-12 16:23:20 +08:00
parent e821a8a104
commit b420249a1e

View File

@ -3,7 +3,6 @@ package web
import (
"math/rand"
"net"
"net/http"
"path"
"runtime"
"strings"
@ -376,9 +375,9 @@ func init() {
ice.Info.Inputs = append(ice.Info.Inputs, func(m *ice.Message, arg ...string) {
switch kit.TrimPrefix(arg[0], "extra.") {
case DREAM:
m.SplitIndex(m.Cmdx(SPIDE, ice.OPS, SPIDE_RAW, http.MethodGet, C(DREAM))).CutTo(mdb.NAME, DREAM)
m.Copy(AdminCmd(m, DREAM).CutTo(mdb.NAME, DREAM))
case SPACE:
m.Cmd(SPACE, func(value ice.Maps) {
AdminCmd(m, SPACE).Table(func(value ice.Maps) {
kit.If(kit.IsIn(value[mdb.TYPE], WORKER, SERVER), func() { m.Push(arg[0], value[mdb.NAME]) })
})
case ORIGIN: