对接新供应链-唯品尚
This commit is contained in:
@@ -13,3 +13,35 @@ type CreateAfsApplyReq struct {
|
||||
PickwareCounty string `json:"pickwareCounty"` // 县区 是 String [县区] 芙蓉区
|
||||
PickwareAddress string `json:"pickwareAddress"` //详细地址 是 String [县区] 塔南路59号2号楼2单元1301室
|
||||
}
|
||||
|
||||
type GetManyPostageReq struct {
|
||||
GoodsInfo string `json:"goodsInfo"` //商品数组 goodsInfo 是 json 需要转成json形式的字符串
|
||||
Address string `json:"address"` // 详细地址 address 是 String
|
||||
County string `json:"county"` // 区 county 是 String
|
||||
Province string `json:"province"` //省份 province 是 String
|
||||
City string `json:"city"` //城市 city 是 String
|
||||
}
|
||||
|
||||
type PreOrderReq struct {
|
||||
LockCode string `json:"lockCode"` //预下单编码 lockCode 是 String
|
||||
ConsigneeContacts string `json:"consigneeContacts"` //收货人姓名 consigneeContacts 是 String
|
||||
ConsigneePhone string `json:"consigneePhone"` //收货人手机号 consigneePhone 是 String
|
||||
Province string `json:"province"` //省份 province 是 String
|
||||
City string `json:"city"` //城市 city 是 String
|
||||
Address string `json:"address"` // 详细地址 address 是 String
|
||||
Area string `json:"area"` //区 area 是 String 区
|
||||
GoodsInfo string `json:"goodsInfo"` //商品数组 goodsInfo 是 json 需要转成json形式的字符串
|
||||
Source string `json:"source"` //订单来源 请求渠道号
|
||||
}
|
||||
|
||||
type GoodsInfo struct {
|
||||
GoodSpecId string `json:"goodSpecId"` //商品ID goodSpecId 是 String 商品ID(c_goods_id)
|
||||
GoodsId string `json:"goodsId"` //商品父 goodsId 是 String 商品父ID(c_father_goods_id)
|
||||
Num string `json:"num"` // 数量
|
||||
}
|
||||
|
||||
type CreateOrderReq struct {
|
||||
LockCode string `json:"lockCode"` //预下单编码 lockCode 是 String
|
||||
OrderNo string `json:"orderNo"` //对接方业务单号 orderNo 是 String
|
||||
NoticeUrl string `json:"noticeUrl"` //合作方通知地址 noticeUrl 否 String 规定值 如支持,订单更新实时通知。此参数可不用传,统一走异步回调
|
||||
}
|
||||
|
Reference in New Issue
Block a user