From 6c32c58599a31721dd4b483da0c15f2351ff7efe Mon Sep 17 00:00:00 2001 From: harveyshao Date: Sun, 25 Dec 2022 21:12:51 +0800 Subject: [PATCH] opt some --- base/cli/runtime.go | 2 +- misc/alpha/cache.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/cli/runtime.go b/base/cli/runtime.go index 113b335a..e01702ad 100644 --- a/base/cli/runtime.go +++ b/base/cli/runtime.go @@ -195,7 +195,7 @@ func init() { ls := strings.SplitN(v, ice.EQ, 2) m.Push(mdb.NAME, ls[0]).Push(mdb.VALUE, ls[1]) } - m.StatusTimeCount() + m.StatusTimeCount().Sort(mdb.NAME) }}, MAKE_DOMAIN: {Hand: func(m *ice.Message, arg ...string) { if os.Getenv(CTX_DEV) == "" || os.Getenv(CTX_POD) == "" { diff --git a/misc/alpha/cache.go b/misc/alpha/cache.go index c6d1ac27..89740018 100644 --- a/misc/alpha/cache.go +++ b/misc/alpha/cache.go @@ -7,7 +7,7 @@ import ( type cache struct { ice.Hash short string `data:"word"` - field string `data:"time,word,translation,definition"` + field string `data:"time,word,phonetic,translation,definition"` list string `name:"list word auto create prunes" help:"缓存"` }