对接新供应链-唯品尚

This commit is contained in:
zhongqiang
2025-05-29 15:12:49 +08:00
parent 79f36b239b
commit c9190ea4d4
4 changed files with 248 additions and 11 deletions

View File

@@ -36,8 +36,9 @@ type SkuData struct {
GoodSpecId string `json:"goodSpecId"` //商品ID(c_goods_id)
GoodsId string `json:"goodsId"` //商品ID(c_father_goods_id)
GoodName string `json:"goodName"` //商品名称
Num string `json:"num"` //数量
Price string `json:"price"` //单价
//Num string `json:"num"` //数量
Num int `json:"num"` //数量
Price string `json:"price"` //单价
}
type GetOrderInfoRes struct {
@@ -91,8 +92,13 @@ type OrderInfoData struct {
}
type IsRefundRes struct {
Code int `json:"code"` // 0为成功其它为失败
Msg string `json:"msg"` // 请求接口消息
Code int `json:"code"` // 0为成功其它为失败
Msg string `json:"msg"` // 请求接口消息
Data IsRefundData `json:"data"` // 返回数据 data array
}
type IsRefundData struct {
ResultType []Param `json:"resultType"` // 售后类型
WareReturn []Param `json:"wareReturn"` // 服务类型
}
@@ -112,3 +118,10 @@ type OrderCancelRes struct {
Code int `json:"code"` // 0为成功其它为失败
Msg string `json:"msg"` // 请求接口消息
}
// test -------------------------------------
type TestRes struct {
Code int `json:"code"` // 0为成功其它为失败
Msg string `json:"msg"` // 请求接口消息
}