提交 47a0b485 authored 作者: 张立波's avatar 张立波

tmv3 OrderBefore

上级 412a4c4a
......@@ -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
......
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论