huangjiajun 11 mesi fa
parent
commit
32cd93eb85
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      svc/get_plan_cfg.go

+ 1
- 0
svc/get_plan_cfg.go Vedi File

@@ -150,6 +150,7 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string, rewardOpts map[string]*mo
commissionOpt.Data = strings.ReplaceAll(commissionOpt.Data, "\"common_wealth_system\":[\"0\"]", "")
commissionOpt.Data = strings.ReplaceAll(commissionOpt.Data, "\"to_team_list\":[]", "")
commissionOpt.Data = strings.ReplaceAll(commissionOpt.Data, "\"same_extend\":[[]]", "\"same_extend\":[]")
commissionOpt.Data = strings.ReplaceAll(commissionOpt.Data, ",,", ",")
if strings.Contains(commissionOpt.Data, "\"subsidy_mode_list\":[") { //兼容旧的方案
tmp := strings.Split(commissionOpt.Data, "\"subsidy_mode_list\":[")
if len(tmp) > 0 {


Caricamento…
Annulla
Salva