This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-03-03 19:08:18 +08:00
parent 076fac1389
commit 4640171153

View File

@ -43,10 +43,7 @@ func (s Gateway) Script(m *ice.Message, arg ...string) {
func (s Gateway) List(m *ice.Message, arg ...string) {
if len(arg) == 0 {
info := web.Info
stat := map[string]int{}
m.Cmd(web.DREAM).Table(func(value ice.Maps) { stat[value[mdb.TYPE]]++ })
m.PushRecord(stat)
m.PushRecord(task.Info())
kit.For(task.Info(), func(key string, value string) { m.Push(key, value) })
m.Push("main", info.ServeMainCount)
m.Push("get", info.ServeGetCount)
m.Push("put", info.ServePutCount)