京东商城拉订单报错处理

This commit is contained in:
苏尹岚
2020-06-09 10:30:27 +08:00
parent d0d8817313
commit 93cd4b688f

View File

@@ -1009,7 +1009,7 @@ func SaveJdsOrders(ctx *jxcontext.Context, orderCreatedStart, orderCreatedEnd ti
noticeMsg := fmt.Sprintf("京东商城保存订单出错多半是cookie过期了,err :[%v]", err)
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, "DDC5657B43EE11E9A9FF525400E86DC0", "cookie", noticeMsg)
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, "1439B3E07D3911EA881A525400E86DC0", "cookie", noticeMsg)
globals.SugarLogger.Errorf("SaveJdsOrders : %v", err)
return err
}
orders, err := result2Orders(ctx, orderResult)
for _, order := range orders {