高于中位价1.2倍才刷新
This commit is contained in:
@@ -2554,7 +2554,8 @@ func RefershStoreSkusMidPrice(ctx *jxcontext.Context, storeIDs []int, isCountry
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if len(priceReferList) > 0 {
|
if len(priceReferList) > 0 {
|
||||||
if storeSku.UnitPrice > priceReferList[0].MidUnitPrice/payPercentage*100 {
|
//TODO 高于中位价20%才刷, 2020-05-08
|
||||||
|
if storeSku.UnitPrice > priceReferList[0].MidUnitPrice/payPercentage*120 {
|
||||||
skuBindInfo := &StoreSkuBindInfo{
|
skuBindInfo := &StoreSkuBindInfo{
|
||||||
NameID: priceReferList[0].NameID,
|
NameID: priceReferList[0].NameID,
|
||||||
UnitPrice: priceReferList[0].MidUnitPrice / payPercentage * 100,
|
UnitPrice: priceReferList[0].MidUnitPrice / payPercentage * 100,
|
||||||
|
|||||||
Reference in New Issue
Block a user