diff --git a/app/db/model/ord_list.go b/app/db/model/ord_list.go index 2cf35d4..ac2e0b4 100644 --- a/app/db/model/ord_list.go +++ b/app/db/model/ord_list.go @@ -59,4 +59,5 @@ type OrdList struct { FastSuccess int `xorm:"not null default 0 INT(1)" json:"fast_success"` OrderFormType int `xorm:"not null default 0 INT(1)" json:"order_form_type"` IsTotal int `xorm:"not null default 0 INT(1)" json:"is_total"` + TaskType string `xorm:"not null default '' VARCHAR(100)" json:"task_type"` } diff --git a/app/md/order.go b/app/md/order.go index 99747b8..a6cef18 100644 --- a/app/md/order.go +++ b/app/md/order.go @@ -141,6 +141,7 @@ type UserPid struct { } type OrderInfo struct { + TaskType string UnionId string Oid int64 PvdOid string diff --git a/app/svc/svc_order_track_save_create_update.go b/app/svc/svc_order_track_save_create_update.go index d70e040..e3e7614 100644 --- a/app/svc/svc_order_track_save_create_update.go +++ b/app/svc/svc_order_track_save_create_update.go @@ -878,6 +878,7 @@ func OrderSaveCreateUpdate(eg *xorm.Engine, pvd string, ordData *[]md.OrderInfo, } // 插入新订单 newOrd := &model.OrdList{ + TaskType: v.TaskType, OrderFormType: orderFormType, OrdId: oid, Uid: uid,