聚推客api对接

This commit is contained in:
wukesheng 2024-06-23 16:30:52 +08:00
parent 6e990b37dc
commit fb029ec4de

View File

@ -1,7 +1,5 @@
package jutuike
import "time"
type GenerateLinkRequest struct {
ApiKey string `json:"apikey"` // 必传 api key
ActId int64 `json:"act_id"` // 必传 活动id
@ -67,9 +65,9 @@ type OrderItem struct {
JtkShareFee string `json:"jtk_share_fee"` // 佣金, 如1.2
OrderSn string `json:"order_sn"` // 订单号如12345678
OrderTitle string `json:"order_title"` // 北京烤鸭 商品名称
CreateTime time.Time `json:"create_time"` // 2021-06-05 21:41:52 下单时间
PayTime *time.Time `json:"pay_time"` // 2021-06-05 21:41:52 付款时间
ModifiedTime *time.Time `json:"modified_time"` // 2021-06-05 21:41:52 最后一次更新时间
CreateTime string `json:"create_time"` // 2021-06-05 21:41:52 下单时间
PayTime string `json:"pay_time"` // 2021-06-05 21:41:52 付款时间
ModifiedTime string `json:"modified_time"` // 2021-06-05 21:41:52 最后一次更新时间
OrderPrice string `json:"order_price"` // 商品单价
PayPrice string `json:"pay_price"` // 实际付款金额
Status int32 `json:"status"` // 订单统一状态0未付款 1已付款 2待结算 3已结算 4无效订单