This commit is contained in:
gazebo
2019-07-23 22:50:23 +08:00
parent 1d20cc2f0b
commit 846c5d625a

View File

@@ -109,7 +109,7 @@ func (p *PurchaseHandler) UpdateStoreSkus(ctx *jxcontext.Context, storeID int, v
}
func genSkuCatRank(storeSku *dao.StoreSkuSyncInfo) int {
return int(maxSkuCatRank - storeSku.Price)
return int(maxSkuCatRank - storeSku.VendorPrice)
}
// 对于多门店平台来说storeSkuList中只有SkuID与VendorSkuID有意义