1
This commit is contained in:
@@ -508,7 +508,7 @@ func GetVendorName(vendorID int) (vendorName string) {
|
||||
func CaculateSkuEarningPrice(shopPrice, salePrice int64, storePayPercentage int) (earningPrice int64) {
|
||||
//TODO 2021-07-05 16:50菜市和果园一样,取低的
|
||||
//TODO 2021-07-05 18:48 还是改回来
|
||||
if beego.BConfig.RunMode == "jxgy" {
|
||||
if beego.BConfig.RunMode == model.ServerTypeFruits || beego.BConfig.RunMode == model.ServerTypePet {
|
||||
earningPrice = salePrice
|
||||
if salePrice != 0 {
|
||||
if shopPrice > 0 && shopPrice < earningPrice {
|
||||
|
||||
Reference in New Issue
Block a user