1
This commit is contained in:
parent
d6ce4f6a85
commit
e97a14e3fc
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user