1
This commit is contained in:
parent
3d036641e0
commit
1aed7bee51
@ -114,6 +114,8 @@ func (this *RechargeApi) BuyWithEmail(c *gin.Context) {
|
|||||||
func (this *RechargeApi) internalBuy(c *gin.Context,
|
func (this *RechargeApi) internalBuy(c *gin.Context,
|
||||||
netId int32, goodsId int32, goodsNum int32, accountAddress string, passportAddress string,
|
netId int32, goodsId int32, goodsNum int32, accountAddress string, passportAddress string,
|
||||||
email string, currencyAddress string) {
|
email string, currencyAddress string) {
|
||||||
|
accountAddress = strings.ToLower(accountAddress)
|
||||||
|
passportAddress = strings.ToLower(passportAddress)
|
||||||
currencyMeta := mt.Table.Currency.GetByNetIdAddress(netId, currencyAddress)
|
currencyMeta := mt.Table.Currency.GetByNetIdAddress(netId, currencyAddress)
|
||||||
if currencyMeta == nil {
|
if currencyMeta == nil {
|
||||||
f5.RspErr(c, 2, "server internal error")
|
f5.RspErr(c, 2, "server internal error")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user