This commit is contained in:
aozhiwei 2024-08-16 19:26:03 +08:00
parent d6ce4f6a85
commit e97a14e3fc

View File

@ -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 {