jdshp order

This commit is contained in:
suyl
2020-11-08 11:53:19 +08:00
parent 77663fa9b9
commit 7600f6768f
2 changed files with 2 additions and 3 deletions

View File

@@ -183,6 +183,8 @@ func result2Orders(msg *jdshopapi.CallBackResult) (order *model.GoodsOrder, err
saleNormalSum += 1
}
shopPriceSum += storeSkuList[0].Price * sku.Count
} else {
shopPriceSum += int(sku.SalePrice) * 70 / 100
}
}
//可售数小于一半就不行