1
0
mirror of https://shylinux.com/x/icebergs synced 2025-06-26 02:17:30 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-05-18 07:49:53 +08:00
parent 7d26b0afb0
commit 4bb96d905d
3 changed files with 0 additions and 5 deletions

View File

@ -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))

View File

@ -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:

View File

@ -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{