Browse Source

更新

guide_order
huangjiajun 3 months ago
parent
commit
c317c9a855
3 changed files with 3 additions and 0 deletions
  1. +1
    -0
      app/md/mq.go
  2. +1
    -0
      app/svc/svc_order_track_save_create.go
  3. +1
    -0
      app/svc/svc_order_track_save_create_update.go

+ 1
- 0
app/md/mq.go View File

@@ -70,6 +70,7 @@ type ZhiosGuideStoreOrder struct {
} }
type ZhiosOrderFree struct { type ZhiosOrderFree struct {
ItemId string `json:"item_id"` ItemId string `json:"item_id"`
SkuId string `json:"sku_id"`
OptPvd string `json:"opt_pvd"` OptPvd string `json:"opt_pvd"`
OrderType string `json:"order_type"` OrderType string `json:"order_type"`
Pid string `json:"pid"` Pid string `json:"pid"`


+ 1
- 0
app/svc/svc_order_track_save_create.go View File

@@ -712,6 +712,7 @@ func OrderSaveCreate(eg *xorm.Engine, pvd string, ordData *[]md.OrderInfo, opts
} }
arg := md.ZhiosOrderFree{ arg := md.ZhiosOrderFree{
ItemId: newOrd.ItemId, ItemId: newOrd.ItemId,
SkuId: newOrd.NumItemId,
OptPvd: newPvd, OptPvd: newPvd,
OrderType: utils.IntToStr(freeOrderType), OrderType: utils.IntToStr(freeOrderType),
Pid: v.Pid, Pid: v.Pid,


+ 1
- 0
app/svc/svc_order_track_save_create_update.go View File

@@ -1033,6 +1033,7 @@ func OrderSaveCreateUpdate(eg *xorm.Engine, pvd string, ordData *[]md.OrderInfo,
} }
arg := md.ZhiosOrderFree{ arg := md.ZhiosOrderFree{
ItemId: newOrd.ItemId, ItemId: newOrd.ItemId,
SkuId: newOrd.NumItemId,
OptPvd: newPvd, OptPvd: newPvd,
OrderType: utils.IntToStr(freeOrderType), OrderType: utils.IntToStr(freeOrderType),
Pid: v.Pid, Pid: v.Pid,


Loading…
Cancel
Save