+ OrderDiscountInfo
This commit is contained in:
@@ -76,6 +76,7 @@ const (
|
||||
|
||||
OrderSkuDiscountTypeZhe = "g_zhe"
|
||||
OrderSkuDiscountTypeReduce = "g_reduce"
|
||||
OrderSkuDiscountTypeZeng = "zeng"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -148,8 +149,7 @@ type OrderProductInfo struct {
|
||||
WeightType int `json:"weight_type"`
|
||||
}
|
||||
|
||||
type OrderDetailInfo struct {
|
||||
Discount []*struct {
|
||||
type OrderDiscountInfo struct {
|
||||
ActivityID string `json:"activity_id"`
|
||||
AgentRate int `json:"agent_rate"`
|
||||
BaiduRate int `json:"baidu_rate"`
|
||||
@@ -167,8 +167,10 @@ type OrderDetailInfo struct {
|
||||
RuleID string `json:"rule_id"`
|
||||
ShopRate int `json:"shop_rate"`
|
||||
Type string `json:"type"`
|
||||
UserRate int `json:"user_rate,omitempty"`
|
||||
} `json:"discount"`
|
||||
}
|
||||
|
||||
type OrderDetailInfo struct {
|
||||
Discount []*OrderDiscountInfo `json:"discount"`
|
||||
Order *struct {
|
||||
AtshopTime int `json:"atshop_time"`
|
||||
CancelTime string `json:"cancel_time"`
|
||||
|
||||
Reference in New Issue
Block a user