1
This commit is contained in:
@@ -300,6 +300,7 @@ type StoreSkuExt struct {
|
||||
JxPrice int `json:"jxPrice"`
|
||||
YbPrice int `json:"ybPrice"`
|
||||
JdsPrice int `json:"jdsPrice"`
|
||||
DdPrice int `json:"ddPrice"`
|
||||
|
||||
JdLockTime *time.Time `orm:"null" json:"jdLockTime,omitempty"`
|
||||
JdsLockTime *time.Time `orm:"null" json:"jdsLockTime,omitempty"`
|
||||
@@ -1428,6 +1429,9 @@ func SetStoreSkuBindVendorPrice(storeSkuBind *model.StoreSkuBind, vendorID int,
|
||||
case model.VendorIDJX:
|
||||
storeSkuBind.JxPrice = vendorPrice
|
||||
storeSkuBind.JxLockTime = pLockTime
|
||||
case model.VendorIDDD:
|
||||
storeSkuBind.DdPrice = vendorPrice
|
||||
storeSkuBind.DdLockTime = pLockTime
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1441,6 +1445,8 @@ func GetStoreSkuBindVendorPrice(storeSkuBind *model.StoreSkuBind, vendorID int)
|
||||
vendorPrice = storeSkuBind.EbaiPrice
|
||||
case model.VendorIDJX:
|
||||
vendorPrice = storeSkuBind.JxPrice
|
||||
case model.VendorIDDD:
|
||||
vendorPrice = storeSkuBind.DdPrice
|
||||
}
|
||||
return vendorPrice
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user