diff --git a/server/marketserver/api/v1/recharge/recharge.go b/server/marketserver/api/v1/recharge/recharge.go index 9ff0b344..3154c4c3 100644 --- a/server/marketserver/api/v1/recharge/recharge.go +++ b/server/marketserver/api/v1/recharge/recharge.go @@ -79,6 +79,7 @@ func (this *RechargeApi) Buy(c *gin.Context) { GoodsId int32 `json:"goods_id"` GoodsNum int32 `json:"goods_num"` AccountAddress string `json:"account_address"` + CurrencyAddress string `json:"currency_address"` }{} if err := c.ShouldBindJSON(&reqJson); err != nil { f5.RspErr(c, 1, err.Error()) @@ -95,6 +96,7 @@ func (this *RechargeApi) BuyWithEmail(c *gin.Context) { GoodsId int32 `json:"goods_id"` GoodsNum int32 `json:"goods_num"` AccountAddress string `json:"account_address"` + CurrencyAddress string `json:"currency_address"` Email string `json:"email"` }{} if err := c.ShouldBindJSON(&reqJson); err != nil {