+ OrderDiscountInfo
This commit is contained in:
@@ -76,6 +76,7 @@ const (
|
||||
|
||||
OrderSkuDiscountTypeZhe = "g_zhe"
|
||||
OrderSkuDiscountTypeReduce = "g_reduce"
|
||||
OrderSkuDiscountTypeZeng = "zeng"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -148,28 +149,29 @@ type OrderProductInfo struct {
|
||||
WeightType int `json:"weight_type"`
|
||||
}
|
||||
|
||||
type OrderDiscountInfo struct {
|
||||
ActivityID string `json:"activity_id"`
|
||||
AgentRate int `json:"agent_rate"`
|
||||
BaiduRate int `json:"baidu_rate"`
|
||||
Desc string `json:"desc"`
|
||||
Fee int `json:"fee"`
|
||||
LogisticsRate int `json:"logistics_rate"`
|
||||
Products []*struct {
|
||||
ActivityID string `json:"activity_id"`
|
||||
ActivityProductNum int `json:"activity_product_num"`
|
||||
BaiduProductID int64 `json:"baidu_product_id"`
|
||||
NowPrice int `json:"now_price"`
|
||||
OrigPrice int `json:"orig_price"`
|
||||
SavePrice int `json:"save_price"`
|
||||
} `json:"products,omitempty"`
|
||||
RuleID string `json:"rule_id"`
|
||||
ShopRate int `json:"shop_rate"`
|
||||
Type string `json:"type"`
|
||||
}
|
||||
|
||||
type OrderDetailInfo struct {
|
||||
Discount []*struct {
|
||||
ActivityID string `json:"activity_id"`
|
||||
AgentRate int `json:"agent_rate"`
|
||||
BaiduRate int `json:"baidu_rate"`
|
||||
Desc string `json:"desc"`
|
||||
Fee int `json:"fee"`
|
||||
LogisticsRate int `json:"logistics_rate"`
|
||||
Products []*struct {
|
||||
ActivityID string `json:"activity_id"`
|
||||
ActivityProductNum int `json:"activity_product_num"`
|
||||
BaiduProductID int64 `json:"baidu_product_id"`
|
||||
NowPrice int `json:"now_price"`
|
||||
OrigPrice int `json:"orig_price"`
|
||||
SavePrice int `json:"save_price"`
|
||||
} `json:"products,omitempty"`
|
||||
RuleID string `json:"rule_id"`
|
||||
ShopRate int `json:"shop_rate"`
|
||||
Type string `json:"type"`
|
||||
UserRate int `json:"user_rate,omitempty"`
|
||||
} `json:"discount"`
|
||||
Order *struct {
|
||||
Discount []*OrderDiscountInfo `json:"discount"`
|
||||
Order *struct {
|
||||
AtshopTime int `json:"atshop_time"`
|
||||
CancelTime string `json:"cancel_time"`
|
||||
ColdBoxFee string `json:"cold_box_fee"`
|
||||
|
||||
Reference in New Issue
Block a user