1
This commit is contained in:
@@ -2153,7 +2153,7 @@ func RefreshOrderSkuInfo(ctx *jxcontext.Context, vendorOrderID string, vendorID,
|
||||
}
|
||||
storeSku := storeSkus[0]
|
||||
//if v.ShopPrice == v.EarningPrice {
|
||||
if beego.BConfig.RunMode == "jxgy" {
|
||||
if beego.BConfig.RunMode == "jxgy" || beego.BConfig.RunMode == "jxpet" {
|
||||
if v.SalePrice > v.ShopPrice {
|
||||
v.EarningPrice = int64(math.Round(float64(storeSku.Price) * float64(order.OrderPayPercentage) / 100))
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user