|
|
|
@ -288,7 +288,7 @@ func GetGoodsRespByInfoList(goodsList []goods.Information, userID uint, isSale b
|
|
|
|
|
commission = commission1.Add(commission2).Add(commission3)
|
|
|
|
|
|
|
|
|
|
if u.Level == 10 {
|
|
|
|
|
commission = ss.DiscountPrice.Sub(ss.GetSalePrice(u.Level)).Mul(decimal.NewFromFloat(define.Coefficient))
|
|
|
|
|
commission = ss.DiscountPrice.Sub(ss.PurchasePrice.Mul(decimal.NewFromFloat(1.03))).Mul(decimal.NewFromFloat(define.Coefficient))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
recookGoodsInfoModel := &goods2.RecookGoodsInfoModel{}
|
|
|
|
|