Skip to content

Commit

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

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

0 comments on commit d8ced63

Please sign in to comment.