|
@@ -159,7 +159,7 @@ func CommOrder(v interface{}, statusArr map[string]string, types string) map[str |
|
|
tmp["mid"] = split[2] |
|
|
tmp["mid"] = split[2] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if tmp["type"] == "Live" || tmp["type"] == "Activity" || tmp["type"] == "Mix" || types == "dk" { |
|
|
|
|
|
|
|
|
if tmp["type"] == "Live" || tmp["type"] == "Activity" || tmp["type"] == "Mix" || tmp["type"] == "ActivityMaterial" || types == "dk" { |
|
|
tmp["commission"] = zhios_third_party_utils.AnyToString(zhios_third_party_utils.AnyToFloat64(goods["ads_estimated_commission"]) / 100) |
|
|
tmp["commission"] = zhios_third_party_utils.AnyToString(zhios_third_party_utils.AnyToFloat64(goods["ads_estimated_commission"]) / 100) |
|
|
if zhios_third_party_utils.AnyToFloat64(goods["ads_real_commission"]) > 0 { |
|
|
if zhios_third_party_utils.AnyToFloat64(goods["ads_real_commission"]) > 0 { |
|
|
tmp["commission"] = zhios_third_party_utils.AnyToString(zhios_third_party_utils.AnyToFloat64(goods["ads_real_commission"]) / 100) |
|
|
tmp["commission"] = zhios_third_party_utils.AnyToString(zhios_third_party_utils.AnyToFloat64(goods["ads_real_commission"]) / 100) |
|
|