This commit is contained in:
aozhiwei 2024-08-16 19:29:57 +08:00
parent 40d12e1a30
commit b32267d897

View File

@ -114,7 +114,7 @@ func (this *RechargeApi) BuyWithEmail(c *gin.Context) {
func (this *RechargeApi) internalBuy(c *gin.Context,
netId int32, goodsId int32, goodsNum int32, accountAddress string, passportAddress string,
email string, currencyAddress string) {
currencyMeta := mt.Table.Currency.GetByNetIdAddress(netId, "")
currencyMeta := mt.Table.Currency.GetByNetIdAddress(netId, currencyAddress)
if currencyMeta == nil {
f5.RspErr(c, 2, "server internal error")
return