京东商城拉订单报错处理
This commit is contained in:
@@ -1009,7 +1009,7 @@ func SaveJdsOrders(ctx *jxcontext.Context, orderCreatedStart, orderCreatedEnd ti
|
|||||||
noticeMsg := fmt.Sprintf("京东商城保存订单出错!(多半是cookie过期了),err :[%v]", err)
|
noticeMsg := fmt.Sprintf("京东商城保存订单出错!(多半是cookie过期了),err :[%v]", err)
|
||||||
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, "DDC5657B43EE11E9A9FF525400E86DC0", "cookie", noticeMsg)
|
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, "DDC5657B43EE11E9A9FF525400E86DC0", "cookie", noticeMsg)
|
||||||
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, "1439B3E07D3911EA881A525400E86DC0", "cookie", noticeMsg)
|
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, "1439B3E07D3911EA881A525400E86DC0", "cookie", noticeMsg)
|
||||||
globals.SugarLogger.Errorf("SaveJdsOrders : %v", err)
|
return err
|
||||||
}
|
}
|
||||||
orders, err := result2Orders(ctx, orderResult)
|
orders, err := result2Orders(ctx, orderResult)
|
||||||
for _, order := range orders {
|
for _, order := range orders {
|
||||||
|
|||||||
Reference in New Issue
Block a user