This commit is contained in:
邹宗楠
2025-10-22 11:49:01 +08:00
parent 9fa2a7c5a0
commit 2d8b978e9b

View File

@@ -35,7 +35,7 @@ func OnCallbackMsg(msg *mtwmapi.CallbackMsg, msgType string) (response *mtwmapi.
response = mtwmapi.Err2CallbackResponse(err, "")
} else if msg.Cmd == mtwmapi.MsgTypeSkuUpdate {
globals.SugarLogger.Debugf("-----MsgTypeSkuUpdate := %s", utils.Format4Output(msg.FormData.Get("retail_data"), false))
dataMap := make(map[string]interface{}, 0)
dataMap := make([]*mtwmapi.VendorUpdateSkuCallback, 0, 0)
json.Unmarshal([]byte(msg.FormData.Get("retail_data")), &dataMap)
globals.SugarLogger.Debugf("-----MsgTypeSkuUpdate := %s", utils.Format4Output(dataMap, false))
return mtwmapi.Err2CallbackResponse(nil, "")