aa
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user