中位价低于5块的不刷

This commit is contained in:
苏尹岚
2020-05-12 11:01:28 +08:00
parent 95af9fe84e
commit a3beb2ceaf

View File

@@ -2559,7 +2559,7 @@ func RefershStoreSkusMidPrice(ctx *jxcontext.Context, storeIDs []int, isCountry
if storeSku.UnitPrice > priceReferList[0].MidUnitPrice/payPercentage*120 { 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 * 120,
} }
skuBindInfos = append(skuBindInfos, skuBindInfo) skuBindInfos = append(skuBindInfos, skuBindInfo)
} }