This commit is contained in:
aozhiwei 2024-08-19 16:15:51 +08:00
parent 3d036641e0
commit 1aed7bee51

View File

@ -114,6 +114,8 @@ 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) {
accountAddress = strings.ToLower(accountAddress)
passportAddress = strings.ToLower(passportAddress)
currencyMeta := mt.Table.Currency.GetByNetIdAddress(netId, currencyAddress)
if currencyMeta == nil {
f5.RspErr(c, 2, "server internal error")