Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
L
library
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
stbz
library
Commits
47a0b485
提交
47a0b485
authored
10月 11, 2024
作者:
张立波
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tmv3 OrderBefore
上级
412a4c4a
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
63 行增加
和
15 行删除
+63
-15
go.mod
go.mod
+4
-3
tm_order_before.go
upstream/tmv3/tm_order_before.go
+59
-12
没有找到文件。
go.mod
浏览文件 @
47a0b485
...
...
@@ -3,9 +3,10 @@ module gitlab.jxhh.com/stbz/library.git
go 1.16
require (
github.com/alibabacloud-go/darabonba-openapi/v2 v2.0.4 // indirect
github.com/alibabacloud-go/linkedmall-20220531/v2 v2.0.7 // indirect
github.com/alibabacloud-go/tea-utils/v2 v2.0.1 // indirect
github.com/alibabacloud-go/darabonba-openapi/v2 v2.0.9
github.com/alibabacloud-go/linkedmall-20220531/v2 v2.0.7
github.com/alibabacloud-go/linkedmall-20230930/v2 v2.2.8
github.com/alibabacloud-go/tea v1.2.2
github.com/aliyun/aliyun-log-go-sdk v0.1.27
github.com/gogf/gf v1.16.6
github.com/kjk/betterguid v0.0.0-20170621091430-c442874ba63a
...
...
upstream/tmv3/tm_order_before.go
浏览文件 @
47a0b485
...
...
@@ -16,20 +16,67 @@ type OrderBeforeReq struct {
}
type
OrderBeforeRes
struct
{
DeliveryAddress
struct
{
DivisionCode
string
`json:"divisionCode"`
AddressDetail
string
`json:"addressDetail"`
ReceiverPhone
string
`json:"receiverPhone"`
RequestId
string
`json:"requestId"`
OrderList
[]
struct
{
ProductList
[]
struct
{
ProductId
string
`json:"productId"`
ProductTitle
string
`json:"productTitle"`
SkuTitle
string
`json:"skuTitle"`
SkuId
string
`json:"skuId"`
PurchaserId
string
`json:"purchaserId"`
PromotionFee
interface
{}
`json:"promotionFee"`
Quantity
int
`json:"quantity"`
ProductUrl
interface
{}
`json:"productUrl"`
ProductPicUrl
string
`json:"productPicUrl"`
Price
int
`json:"price"`
CanSell
bool
`json:"canSell"`
Message
interface
{}
`json:"message"`
Features
interface
{}
`json:"features"`
}
`json:"productList"`
DeliveryInfoList
[]
struct
{
Id
string
`json:"id"`
DisplayName
string
`json:"displayName"`
PostFee
int
`json:"postFee"`
ServiceType
int
`json:"serviceType"`
}
`json:"deliveryInfoList"`
InvoiceInfo
interface
{}
`json:"invoiceInfo"`
ExtInfo
interface
{}
`json:"extInfo"`
CanSell
bool
`json:"canSell"`
Message
interface
{}
`json:"message"`
}
`json:"orderList"`
UnsellableOrderList
[]
struct
{
ProductList
[]
struct
{
ProductId
string
`json:"productId"`
ProductTitle
string
`json:"productTitle"`
SkuTitle
string
`json:"skuTitle"`
SkuId
string
`json:"skuId"`
PurchaserId
string
`json:"purchaserId"`
PromotionFee
interface
{}
`json:"promotionFee"`
Quantity
int
`json:"quantity"`
ProductUrl
interface
{}
`json:"productUrl"`
ProductPicUrl
string
`json:"productPicUrl"`
Price
int
`json:"price"`
CanSell
bool
`json:"canSell"`
Message
interface
{}
`json:"message"`
Features
interface
{}
`json:"features"`
}
`json:"productList"`
DeliveryInfoList
interface
{}
`json:"deliveryInfoList"`
InvoiceInfo
interface
{}
`json:"invoiceInfo"`
ExtInfo
interface
{}
`json:"extInfo"`
CanSell
bool
`json:"canSell"`
Message
interface
{}
`json:"message"`
}
`json:"unsellableOrderList"`
AddressList
[]
struct
{
AddressId
int
`json:"addressId"`
Receiver
string
`json:"receiver"`
ReceiverPhone
string
`json:"receiverPhone"`
AddressDetail
string
`json:"addressDetail"`
DivisionCode
string
`json:"divisionCode"`
TownDivisionCode
string
`json:"townDivisionCode"`
}
`json:"deliveryAddress"`
BuyerId
string
`json:"buyerId"`
ProductList
[]
struct
{
Quantity
int
`json:"quantity"`
ProductId
string
`json:"productId"`
PurchaserId
string
`json:"purchaserId"`
SkuId
string
`json:"skuId"`
}
`json:"productList"`
}
`json:"addressList"`
ExtInfo
interface
{}
`json:"extInfo"`
CanSell
bool
`json:"canSell"`
Message
interface
{}
`json:"message"`
}
// Before 采购单渲染
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论