This commit is contained in:
苏尹岚
2021-02-24 17:01:19 +08:00
parent 70a95b1de0
commit 6b77f9f7c9
3 changed files with 13 additions and 1 deletions

View File

@@ -482,6 +482,14 @@ func (v *StoreCoupons) TableIndex() [][]string {
}
}
type AcctOrder struct {
ID int64 `orm:"column(id)" json:"id"`
VendorOrderID string `orm:"column(vendor_order_id);size(48)" json:"vendorOrderID"`
VendorID int `orm:"column(vendor_id)" json:"vendorID"`
StoreID int `orm:"column(store_id)" json:"storeID"`
UserID string `orm:"column(user_id);size(48);index" json:"userID"`
}
// 判断是否是购买平台自有物流
// 对于京东,饿百来说,就是其自有的物流,对于微商城来说,是达达
func IsWaybillPlatformOwn(bill *Waybill) bool {