This commit is contained in:
suyl
2021-10-22 16:40:25 +08:00
parent 22ebe82f8e
commit 1607e9cfa8
3 changed files with 6 additions and 4 deletions

View File

@@ -31,6 +31,8 @@ import (
"git.rosy.net.cn/jx-callback/globals/api2"
)
//TODO 以下是京东商城云顶推送消息使用的代码,现在都是以网页爬取的形式拿订单了,下面的都不用了
//TODO 位置在 orderman/order.go 的 SaveJdsOrders
func OnCallbackMsg(msg *jdshopapi.CallBackResult) (err error) {
msgType := msg.MsgType
switch msgType {

View File

@@ -1305,7 +1305,7 @@ func orderSolutionForWuLiao(order *model.GoodsOrder) (err error) {
if err != nil {
return err
}
//分包后的子订单ID默认是后面加两位目前的规则要改的话要注意取消订单那的判断
//分包后的子订单ID默认是原订单ID后面加两位(目前的规则),要改的话要注意取消订单那的判断
outJxOrder.OrderID = utils.Str2Int64(order.VendorOrderID)*100 + int64(k+1)
checkMatterDeliveryAddress(deliveryAddress)
order2, err2 := jxOrder2GoodsOrder(jxcontext.AdminCtx, outJxOrder, deliveryAddress, order.UserID, false, nil)