diff --git a/pdd_union/order.go b/pdd_union/order.go index 64570df..0fb0f96 100644 --- a/pdd_union/order.go +++ b/pdd_union/order.go @@ -20,6 +20,8 @@ func GetOrder(keyArr map[string]string, param map[string]interface{}) ([]map[str tmp["check_success_time"] = zhios_third_party_utils.IntToStr(v.OrderVerifyTime) tmp["oid"] = v.OrderSn tmp["gid"] = v.GoodsSign + tmp["sku_id"] = zhios_third_party_utils.IntToStr(v.GoodsId) + tmp["shop_id"] = zhios_third_party_utils.IntToStr(v.MallId) tmp["goods_title"] = v.GoodsName 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)