From 7cd929a030149826dd539f242bb09a5cb0ab33a0 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 11 Jun 2024 10:47:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=BC=E5=A4=9A=E5=A4=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pdd_union/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdd_union/order.go b/pdd_union/order.go index dc25918..149f231 100644 --- a/pdd_union/order.go +++ b/pdd_union/order.go @@ -21,7 +21,7 @@ func GetOrder(keyArr map[string]string, param map[string]interface{}) ([]map[str tmp["oid"] = v.OrderSn tmp["gid"] = v.GoodsSign tmp["goods_title"] = v.GoodsName - tmp["commission"] = zhios_third_party_utils.Float64ToStr(float64(v.PromotionAmount) / 100) + tmp["commission"] = zhios_third_party_utils.Float64ToStr(float64(v.PromotionAmount)/100 + float64(v.SubsidyAmount)/100) tmp["commission_rate"] = zhios_third_party_utils.Float64ToStr(float64(v.PromotionRate) / 10) tmp["goods_price"] = zhios_third_party_utils.Float64ToStr(float64(v.GoodsPrice) / 100) tmp["payment"] = zhios_third_party_utils.Float64ToStr(float64(v.OrderAmount) / 100)