|
|
@@ -116,6 +116,7 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string, rewardOpts map[string]*mo |
|
|
|
opt.MerchantRate = float64(int64(rewardOpt.MerchantRate*1e4)) / 1e4 |
|
|
|
opt.NewAgentRate = float64(int64(rewardOpt.NewAgentRate*1e4)) / 1e4 |
|
|
|
opt.OrderBeforeRate = float64(int64(rewardOpt.OrderBeforeRate*1e4)) / 1e4 |
|
|
|
opt.BuckleRate = float64(int64(rewardOpt.BuckleRate*1e4)) / 1e4 |
|
|
|
opt.PlanCommissionId = rewardOpt.PlanCommissionId |
|
|
|
rateList := make(map[string]float64) |
|
|
|
if rewardOpt.RateList != "" { |
|
|
|