@@ -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 | |||||
} | |||||
} | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -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 | |||||
} | |||||
} | |||||
} | } | ||||
} | } | ||||
} | } | ||||