京东门店修改日志+京东门店自送骑手同步+三方门店商品对比

This commit is contained in:
邹宗楠
2024-03-29 16:20:04 +08:00
parent 51676aa211
commit 5dfc20c562
15 changed files with 462 additions and 286 deletions

View File

@@ -2,6 +2,8 @@ package jd
import (
"git.rosy.net.cn/baseapi/platformapi/jdapi"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
)
func OnOrderMsg(msg *jdapi.CallbackOrderMsg, a *jdapi.API) (retVal *jdapi.CallbackResponse) {
@@ -20,7 +22,9 @@ func OnWaybillMsg(msg *jdapi.CallbackDeliveryStatusMsg) (retVal *jdapi.CallbackR
func OnStoreMsg(msg *jdapi.CallbackOrderMsg) (retVal *jdapi.CallbackResponse) {
if CurPurchaseHandler != nil {
globals.SugarLogger.Debugf("==========msg := %s", utils.Format4Output(msg, false))
retVal = CurPurchaseHandler.OnStoreMsg(AppKey2OrgCode(msg.AppKey), msg)
globals.SugarLogger.Debugf("==========retVal := %s", utils.Format4Output(retVal, false))
}
return retVal
}