This commit is contained in:
邹宗楠
2025-12-16 16:14:47 +08:00
parent ac3223cf98
commit aa0e94ac6e
3 changed files with 18 additions and 1 deletions

View File

@@ -254,7 +254,7 @@ func (c *DjswController) imMsg() {
callbackResponse = jdapi.Err2CallbackResponse(err, "")
} else {
var base *jdapi.BaseInfo
if utils.Map2StructByJson(msg, &base, false); err == nil {
if utils.UnmarshalUseNumber(msg, &base); err == nil {
globals.SugarLogger.Debugf("-----url := %s", url)
globals.SugarLogger.Debugf("-----msg := %s", string(msg))
globals.SugarLogger.Debugf("-----base := %s", utils.Format4Output(base, false))