Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
L
library
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
stbz
library
Commits
d9349b85
提交
d9349b85
authored
9月 08, 2022
作者:
zhanglibo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
淘特
上级
455dd5a4
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
20 行增加
和
20 行删除
+20
-20
itao_order.go
upstream/itao/itao_order.go
+20
-20
没有找到文件。
upstream/itao/itao_order.go
浏览文件 @
d9349b85
...
...
@@ -36,7 +36,7 @@ type OrderItem struct {
ItemId
int64
`json:"itemId"`
SkuId
int64
`json:"skuId"`
}
`json:"itemInfo"`
Quantity
int
`json:"quantity"`
Quantity
u
int
`json:"quantity"`
}
type
OrderBeforeRes
struct
{
...
...
@@ -45,7 +45,7 @@ type OrderBeforeRes struct {
ExtensionResp
struct
{
TradeId
string
`json:"tradeId"`
}
`json:"extensionResp"`
InvalidOrderGroups
[]
struct
{
InvalidOrderGroups
[]
struct
{
//不可售商品
Image
string
`json:"image"`
OrderLineRenders
[]
struct
{
ErrorMessage
struct
{
...
...
@@ -56,28 +56,28 @@ type OrderBeforeRes struct {
ItemId
string
`json:"itemId"`
SkuId
string
`json:"skuId"`
}
`json:"itemInfo"`
ItemPayPrice
int
`json:"itemPayPrice"`
ItemPayPrice
uint
`json:"itemPayPrice"`
OrderLineId
int64
`json:"orderLineId"`
Quantity
int
`json:"quantity"`
Quantity
uint
`json:"quantity"`
}
`json:"orderLineRenders"`
OrderPayPrice
int
`json:"orderPayPrice"`
Quantity
int
`json:"quantity"`
Quantity
uint
`json:"quantity"`
SellerToken
string
`json:"sellerToken"`
Title
string
`json:"title"`
}
`json:"invalidOrderGroups"`
OriginPriceFee
int
`json:"originPriceFee"`
PriceFee
int
`json:"priceFee"`
OriginPriceFee
uint
`json:"originPriceFee"`
PriceFee
uint
`json:"priceFee"`
//单位分
PromotionResp
OrderPromotion
`json:"promotionResp"`
Quantity
int
`json:"quantity"`
RealPayPrice
int
`json:"realPayPrice"`
Quantity
uint
`json:"quantity"`
RealPayPrice
uint
`json:"realPayPrice"`
ReceiveMethodInfo
struct
{
DeliveryAddressId
int
`json:"deliveryAddressId"`
Options
[]
interface
{}
`json:"options"`
}
`json:"receiveMethodInfo"`
ValidOrderGroups
[]
struct
{
ValidOrderGroups
[]
struct
{
//可售商品
DeliveryMethodInfo
struct
{
DeliveryMethodOptionList
[]
struct
{
FareCent
uint
`json:"fareCent"`
FareCent
uint
`json:"fareCent"`
//运费 单位分
Id
string
`json:"id"`
ServiceType
int
`json:"serviceType"`
}
`json:"deliveryMethodOptionList"`
...
...
@@ -93,12 +93,12 @@ type OrderBeforeRes struct {
ItemId
string
`json:"itemId"`
SkuId
string
`json:"skuId"`
}
`json:"itemInfo"`
ItemPayPrice
int
`json:"itemPayPrice"`
ItemPayPrice
uint
`json:"itemPayPrice"`
OrderLineId
int64
`json:"orderLineId"`
Quantity
int
`json:"quantity"`
Quantity
uint
`json:"quantity"`
}
`json:"orderLineRenders"`
OrderPayPrice
int
`json:"orderPayPrice"`
Quantity
int
`json:"quantity"`
OrderPayPrice
uint
`json:"orderPayPrice"`
Quantity
uint
`json:"quantity"`
SellerToken
string
`json:"sellerToken"`
Title
string
`json:"title"`
}
`json:"validOrderGroups"`
...
...
@@ -164,7 +164,7 @@ type OrderCreateItem struct {
type
OrderCreateDto
struct
{
GoodsID
int64
`json:"itemId"`
SkuId
int64
`json:"skuId"`
Quantity
int
`json:"buyQuantity"`
Quantity
uint
`json:"buyQuantity"`
LineId
int64
`json:"orderLineId"`
}
...
...
@@ -307,19 +307,19 @@ type OrderReflectRes struct {
Result
struct
{
Result
struct
{
BizOrderId
string
`json:"bizOrderId"`
BuyAmount
int
`json:"buyAmount"`
BuyAmount
uint
`json:"buyAmount"`
BuyerToken
string
`json:"buyerToken"`
Detail
int
`json:"detail"`
DetailOrderList
[]
struct
{
BizOrderId
string
`json:"bizOrderId"`
BuyAmount
int
`json:"buyAmount"`
BuyAmount
uint
`json:"buyAmount"`
BuyerToken
string
`json:"buyerToken"`
Detail
int
`json:"detail"`
GmtCreate
string
`json:"gmtCreate"`
ItemInfo
struct
{
ItemId
string
`json:"itemId"`
Pic
string
`json:"pic"`
Price
string
`json:"price"`
Price
uint
`json:"price"`
SkuId
string
`json:"skuId"`
SkuInfoList
[]
interface
{}
`json:"skuInfoList"`
Title
string
`json:"title"`
...
...
@@ -340,7 +340,7 @@ type OrderReflectRes struct {
ItemInfo
struct
{
ItemId
string
`json:"itemId"`
Pic
string
`json:"pic"`
Price
string
`json:"price"`
Price
uint
`json:"price"`
SkuId
string
`json:"skuId"`
SkuInfoList
[]
interface
{}
`json:"skuInfoList"`
Title
string
`json:"title"`
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论