Browse Source

add reverse:for v1.1.6 抖音接口

tags/v1.1.6
huangjiajun 2 years ago
parent
commit
46292937b2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tik_tok/svc_tik_tok_order.go

+ 1
- 1
tik_tok/svc_tik_tok_order.go View File

@@ -113,7 +113,7 @@ func CommOrder(v interface{}, statusArr map[string]string) map[string]string {
} }
tmp["uid"] = split[1] tmp["uid"] = split[1]
} }
if tmp["type"] == "Live" {
if tmp["type"] == "Live" || tmp["type"] == "Activity" || tmp["type"] == "Mix" {
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)


Loading…
Cancel
Save