1
This commit is contained in:
@@ -40,6 +40,7 @@ func OnOrderMsg(msgId string, msg interface{}) (response *tiktokShop.CallbackRes
|
||||
//}
|
||||
jxutils.CallMsgHandler(func() {
|
||||
response = CurPurchaseHandler.onOrderMsg(msgId, orderId, msg)
|
||||
globals.SugarLogger.Debugf("OnOrderMsg response====%s", utils.Format4Output(response, false))
|
||||
}, jxutils.ComposeUniversalOrderID(orderId, model.VendorIDDD))
|
||||
}
|
||||
return response
|
||||
|
||||
@@ -40,6 +40,7 @@ func (t *TiktokController) CallbackTiktokOrderMsg() {
|
||||
|
||||
for k, v := range orderStatus {
|
||||
for _, callback := range v {
|
||||
globals.SugarLogger.Debugf("CallbackTiktokOrderMsg v======%s", utils.Format4Output(v, false))
|
||||
resp2 := tiktok_store.OnOrderMsg(k, callback)
|
||||
if resp2.Code != 0 {
|
||||
t.Data["json"] = resp2
|
||||
|
||||
Reference in New Issue
Block a user