对接新供应链-唯品尚

This commit is contained in:
zhongqiang
2025-05-28 11:57:30 +08:00
parent fa19e791e0
commit 79f36b239b
4 changed files with 91 additions and 22 deletions

View File

@@ -46,8 +46,9 @@ type GetOrderInfoRes struct {
Data []Data `json:"data"` // 返回数据 data array
}
type Data struct {
CThirdUserCode string `json:"c_third_user_code"` // 用户编码
COrderNoThird string `json:"c_order_no_third"` // 渠道订单号
CThirdUserCode string `json:"c_third_user_code"` // 用户编码
//COrderNoThird string `json:"c_order_no_third"` // 渠道订单号
COrderNo string `json:"c_order_no"` // 渠道订单号
COrderNoPayservice string `json:"c_order_no_payservice"` //支付订单号
CSendStatus string `json:"c_send_status"` // 订单状态 订单所处阶段【CHECKED订单被创建,INSTOCK已备货,SENDED已发货,RECEIVED已收货
CIsPay int `json:"c_is_pay"` // 支付状态(0-未支付1-已支付)
@@ -81,6 +82,8 @@ type GetOrderInfoByThirdNORes struct {
Data []OrderInfoData `json:"data"` // 返回数据 data array
}
type OrderInfoData struct {
GoodsId string `json:"goodsId"` //商品ID goodsId 是 String 商品父ID(c_father_goods_id)
GoodSpecId string `json:"goodSpecId"` //SKU ID goodSpecId 是 String 商品ID(c_goods_id)
OrderItemNo string `json:"order_item_no"` // 子订单号
SendStatus string `json:"send_status"` //发货状态【CHECKED订单被创建,INSTOCK已备货,SENDED已发货,RECEIVED已收货
DeliveryName string `json:"delivery_name"` // 快递公司