|
@@ -263,7 +263,7 @@ func calcNowEverydayExperienceIntegral(consumeValue float64) (value float64, err |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
func calcNowEverydayStoreIntegral(consumeValue, bili float64) (value float64, err error) { |
|
|
func calcNowEverydayStoreIntegral(consumeValue, bili float64) (value float64, err error) { |
|
|
value, _ = decimal.NewFromFloat(consumeValue * bili).RoundFloor(2).Float64() |
|
|
|
|
|
|
|
|
value = zhios_order_relate_utils.FloatFormat(consumeValue*bili, 2) |
|
|
////2、通过公式计算 "((资金池的金额 * 浮动比例) / 体验补贴总数) + 基础补贴" |
|
|
////2、通过公式计算 "((资金池的金额 * 浮动比例) / 体验补贴总数) + 基础补贴" |
|
|
//experienceMoney, _ := decimal.NewFromString(subsidyBase.ExperienceTotalMoney) |
|
|
//experienceMoney, _ := decimal.NewFromString(subsidyBase.ExperienceTotalMoney) |
|
|
//baseSubsidyMoney, _ := decimal.NewFromString(subsidyBase.BaseSubsidyMoney) |
|
|
//baseSubsidyMoney, _ := decimal.NewFromString(subsidyBase.BaseSubsidyMoney) |
|
|