提交 fd850217 authored 作者: 屈传平's avatar 屈传平

wangdian

上级 68ccec38
......@@ -590,17 +590,17 @@ type LogisticsSyncQueryRes struct {
Code int `json:"code"`
Message string `json:"message"`
Trades []struct {
RecId string `json:"rec_id"`
RecId int `json:"rec_id"`
ShopNo string `json:"shop_no"`
Tid string `json:"tid"`
LogisticsType string `json:"logistics_type"`
LogisticsType int `json:"logistics_type"`
LogisticsNo string `json:"logistics_no"`
DeliveryTerm string `json:"delivery_term"`
DeliveryTerm int `json:"delivery_term"`
ConsignTime string `json:"consign_time"`
Oids string `json:"oids"`
IsPartSync string `json:"is_part_sync"`
PlatformId string `json:"platform_id"`
TradeId string `json:"trade_id"`
PlatformId int `json:"platform_id"`
TradeId int `json:"trade_id"`
LogisticsNameErp string `json:"logistics_name_erp"`
LogisticsCodeErp string `json:"logistics_code_erp"`
LogisticsName string `json:"logistics_name"`
......@@ -621,8 +621,8 @@ func (s *WangDianTong) LogisticsSyncQuery(ctx context.Context, req *LogisticsSyn
}
type LogisticsSyncAckReq struct {
RecId string `json:"rec_id"`
Status string `json:"status"`
RecId int `json:"rec_id"`
Status int `json:"status"`
Message string `json:"message"`
}
......@@ -630,7 +630,7 @@ type LogisticsSyncAckRes struct {
Code int `json:"code"`
Message string `json:"message"`
Errors []struct {
RecId string `json:"rec_id"`
RecId int `json:"rec_id"`
Error string `json:"error"`
} `json:"errors"`
}
......
......@@ -268,16 +268,18 @@ func (s *WangDianTong) StockRefundLogisticsQuery(ctx context.Context, req *Stock
}
type StockinRefundPushReq struct {
RefundNo string `json:"refund_no"`
OuterNo string `json:"outer_no"`
WarehouseNo string `json:"warehouse_no"`
LogisticsCode string `json:"logistics_code"`
DetailList []struct {
SpecNo string `json:"spec_no"`
StockinNum int `json:"stockin_num"`
BatchNo string `json:"batch_no"`
StockinPrice float64 `json:"stockin_price"`
} `json:"detail_list"`
RefundNo string `json:"refund_no"`
OuterNo string `json:"outer_no"`
WarehouseNo string `json:"warehouse_no"`
LogisticsCode string `json:"logistics_code"`
DetailList []*StockinDetailList `json:"detail_list"`
}
type StockinDetailList struct {
SpecNo string `json:"spec_no"`
StockinNum int `json:"stockin_num"`
BatchNo string `json:"batch_no"`
StockinPrice float64 `json:"stockin_price"`
}
type StockinRefundPushRes struct {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论