Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CouponInfo ¶
type CouponInfo struct { UserCoupon CName string `json:"c_name"` CValue float32 `json:"c_value"` CMinAmount float32 `json:"c_min_amount"` CSuitable string `json:"c_suitable"` CNotBefore string `json:"c_not_before"` CNotAfter string `json:"c_not_after"` CEffectiveDay int `json:"c_effective_day"` CEnabled int `json:"c_enabled"` }
type OrderModel ¶
type OrderModel struct { ID int `json:"id"` No string `json:"no"` Amount float64 `json:"amount"` DiscountAmount float64 `json:"discount_amount"` PaymentOrderNo string `json:"payment_order_no"` PaymentAmount float64 `json:"payment_amount"` ReceiptAmount float64 `json:"receipt_amount"` PaymentMethod int `json:"payment_method"` PaymentStatus int `json:"payment_status"` PaymentExpiredAt time.Time `json:"payment_expired_at"` PaymentAt time.Time `json:"payment_at"` Source string `json:"source"` Status int `json:"status"` Reviewed int `json:"reviewed,omitempty"` RefundReason string `json:"refund_reason,omitempty"` RefundRequestAt time.Time `json:"refund_request_at,omitempty"` RefundDisagreeReason string `json:"refund_disagree_reason,omitempty"` RefundStatus string `json:"refund_status,omitempty"` RefundNo string `json:"refund_no,omitempty"` RefundAt time.Time `json:"refund_at,omitempty"` Extra string `json:"extra,omitempty"` UserRemark string `json:"user_remark,omitempty"` AdminRemark string `json:"admin_remark,omitempty"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` UserId int64 `json:"user_id"` UserCouponId int `json:"user_coupon_id"` InvoiceId int64 `json:"invoice_id,omitempty"` PackageId int `json:"package_id,omitempty"` ChannelId int `json:"channel_id,omitempty"` }
type UserCoupon ¶
type UserCoupon struct { ID int64 `json:"id"` Code string `json:"code"` Suitable string `json:"suitable"` SuitableValue int `json:"suitable_value"` Status int `json:"status"` UsedAt string `json:"used_at"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` UserId int `json:"user_id"` CouponId int `json:"coupon_id"` }
type VipOrderModel ¶
type VipOrderModel struct { ID int `json:"id"` No string `json:"no"` Amount float64 `json:"amount"` DiscountAmount float64 `json:"discount_amount"` PaymentOrderNo string `json:"payment_order_no"` PaymentAmount float64 `json:"payment_amount"` ReceiptAmount float64 `json:"receipt_amount"` PaymentMethod int `json:"payment_method"` PaymentStatus int `json:"payment_status"` PaymentExpiredAt time.Time `json:"payment_expired_at"` PaymentAt time.Time `json:"payment_at"` Source string `json:"source"` Status int `json:"status"` Reviewed int `json:"reviewed,omitempty"` RefundReason string `json:"refund_reason,omitempty"` RefundRequestAt time.Time `json:"refund_request_at,omitempty"` RefundDisagreeReason string `json:"refund_disagree_reason,omitempty"` RefundStatus string `json:"refund_status,omitempty"` RefundNo string `json:"refund_no,omitempty"` RefundAt time.Time `json:"refund_at,omitempty"` Extra string `json:"extra,omitempty"` UserRemark string `json:"user_remark,omitempty"` AdminRemark string `json:"admin_remark,omitempty"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` UserId int64 `json:"user_id"` VipId int64 `json:"vip_id"` InvoiceId int64 `json:"invoice_id,omitempty"` }
Click to show internal directories.
Click to hide internal directories.