diff --git a/base/web/serve.go b/base/web/serve.go index ba4aeecb..ad043fbd 100644 --- a/base/web/serve.go +++ b/base/web/serve.go @@ -198,7 +198,6 @@ func _serve_handle(key string, cmd *ice.Command, m *ice.Message, w http.Response }) UserHost(m) for k, v := range m.R.Header { - // m.Info("what %v %v", k, v) kit.If(strings.HasPrefix(k, "Wechatpay"), func() { m.Option(k, v) }) } m.W.Header().Add(strings.ReplaceAll(ice.LOG_TRACEID, ".", "-"), m.Option(ice.LOG_TRACEID)) diff --git a/base/web/spide.go b/base/web/spide.go index 1ec590b6..725dc464 100644 --- a/base/web/spide.go +++ b/base/web/spide.go @@ -115,7 +115,6 @@ func _spide_body(m *ice.Message, method string, arg ...string) (io.Reader, ice.M case SPIDE_FORM: // arg = kit.Simple(arg, func(v string) string { return url.QueryEscape(v) }) head[html.ContentType], body = html.ApplicationForm, bytes.NewBufferString(kit.JoinQuery(arg[1:]...)) - m.Info("debug what %v", kit.JoinQuery(arg[1:]...)) case SPIDE_PART: head[html.ContentType], body = _spide_part(m, arg...) case SPIDE_FILE: diff --git a/logs.go b/logs.go index ae9a5d92..f3a30bac 100644 --- a/logs.go +++ b/logs.go @@ -125,9 +125,6 @@ func (m *Message) Warn(err Any, arg ...Any) bool { str, meta := m.join(arg...) if m.log(LOG_WARN, str, meta...); len(arg) > 0 { p := path.Join(kit.Slice(strings.Split(logs.FileLines(-2), "/"), -2)...) - m.Info("what %v", strings.Split(logs.FileLines(-2), "/")) - m.Info("what %v", kit.Slice(strings.Split(logs.FileLines(-2), "/"), -2)) - m.Info("what %v", p) m.Option(MSG_TITLE, kit.JoinWord(kit.Keys(m.Option(MSG_USERPOD), m.CommandKey(), m.ActionKey()), p)) m.error(arg...) kit.If(map[string]int{