Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dingawm committed May 17, 2022
1 parent 9f94342 commit 73de81a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc_examples/addOrderSubInfo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func main() {
}

AddOrderSubInfoRequestDataItemEXTSubsOrderItemsItemRefundVal := openapi.AddOrderSubInfoRequestDataItemEXTSubsOrderItemsItemRefund{
Amount: "1315", // 文档中对应字段:Amount,实际使用时请替换成真实参数
Amount: 1315, // 文档中对应字段:Amount,实际使用时请替换成真实参数
Product: []openapi.AddOrderSubInfoRequestDataItemEXTSubsOrderItemsItemRefundProductItem{
AddOrderSubInfoRequestDataItemEXTSubsOrderItemsItemRefundProductItemVal, // 文档中对应字段:Product,实际使用时请替换成真实参数
},
Expand Down
2 changes: 1 addition & 1 deletion openapi/addOrderSubInfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type AddOrderSubInfoRequestDataItemEXTSubsOrderItemsItemRefundProductItem struct
Quantity int64 `json:"Quantity"` // 售后商品数量
}
type AddOrderSubInfoRequestDataItemEXTSubsOrderItemsItemRefund struct {
Amount string `json:"Amount"` // 退款总金额(单位:分),即100为1元。
Amount int64 `json:"Amount"` // 退款总金额(单位:分),即100为1元。
Product []AddOrderSubInfoRequestDataItemEXTSubsOrderItemsItemRefundProductItem `json:"Product"` // 售后商品列表
}
type AddOrderSubInfoRequestDataItemEXTSubsOrderItemsItem struct {
Expand Down

0 comments on commit 73de81a

Please sign in to comment.