1
This commit is contained in:
parent
63a087da8d
commit
cc2921c5c6
@ -49,6 +49,7 @@ func (ea *RechargeApi) RechargeList(c *gin.Context) {
|
||||
}
|
||||
|
||||
func (this *RechargeApi) Buy(c *gin.Context) {
|
||||
//passportAddress := c.MustGet("account_address").(string)
|
||||
// reqJson := struct {
|
||||
// NetId int32 `json:"net_id"`
|
||||
// GoodsId int32 `json:"goods_id"`
|
||||
@ -65,8 +66,7 @@ func (this *RechargeApi) BuyWithEmail(c *gin.Context) {
|
||||
}
|
||||
|
||||
func (this *RechargeApi) internalBuy(c *gin.Context,
|
||||
netId int32, goodsId int32, goodsNum int32, accountAddress string) {
|
||||
passportAddress := c.MustGet("account_address").(string)
|
||||
netId int32, goodsId int32, goodsNum int32, accountAddress string, passportAddress string) {
|
||||
currencyMeta := mt.Table.Currency.Get(netId)
|
||||
if currencyMeta == nil {
|
||||
f5.RspErr(c, 2, "server internal error")
|
||||
|
Loading…
x
Reference in New Issue
Block a user