Browse Source

更新

master
huangjiajun 9 months ago
parent
commit
673ac2e650
2 changed files with 14 additions and 0 deletions
  1. +7
    -0
      svc/public_platoon_relate_commission.go
  2. +7
    -0
      svc/small_public_platoon_relate_commission.go

+ 7
- 0
svc/public_platoon_relate_commission.go View File

@@ -227,6 +227,13 @@ func BatchGetPublicPlatoonRelateCommissionByOrderLevel(engine *xorm.Engine, mast
rateList, ok := v2["rate_list"].(map[string]interface{}) rateList, ok := v2["rate_list"].(map[string]interface{})
if ok { if ok {
UserLvUpPublicPlatoonList = rateList UserLvUpPublicPlatoonList = rateList
} else {
rateList, ok := v2["rate_list"].([]interface{})
if ok {
for k, v := range rateList {
UserLvUpPublicPlatoonList[zhios_order_relate_utils.AnyToString(k)] = v
}
}
} }
} }
} }


+ 7
- 0
svc/small_public_platoon_relate_commission.go View File

@@ -441,6 +441,13 @@ func BatchSmallGetPublicPlatoonRelateCommissionLevel(engine *xorm.Engine, master
rateList, ok := v2["rate_list"].(map[string]interface{}) rateList, ok := v2["rate_list"].(map[string]interface{})
if ok { if ok {
UserLvUpPublicPlatoonList = rateList UserLvUpPublicPlatoonList = rateList
} else {
rateList, ok := v2["rate_list"].([]interface{})
if ok {
for k, v := range rateList {
UserLvUpPublicPlatoonList[zhios_order_relate_utils.AnyToString(k)] = v
}
}
} }
} }
} }


Loading…
Cancel
Save