@ -14,14 +14,14 @@ func (g *Gin) CheckWithdrawCondition(amount int64, t common.CurrencyType) (ok bo
down,up:=call.GetConfigWithdrawLimits()
down,up:=call.GetConfigWithdrawLimits()
ifamount<down||amount>up{
ifamount<down||amount>up{
g.Code=values.CodeWithdrawCondition
g.Code=values.CodeWithdrawCondition
g.Msg=fmt.Sprintf("दर्ज की गई राशि R$ के बीच होनी चाहिए %s और %s.",util.FormatNumberBrazil(float64(down)/common.DecimalDigits),util.FormatNumberBrazil(float64(up)/common.DecimalDigits))
g.Msg=fmt.Sprintf("The amount entered should be between $%s and %s.",util.FormatNumberBrazil(float64(down)/common.DecimalDigits),util.FormatNumberBrazil(float64(up)/common.DecimalDigits))
return
return
}
}
// 拉取当前所需下注
// 拉取当前所需下注
bet:=call.GetUserNeedBet(g.UID)
bet:=call.GetUserNeedBet(g.UID)
ifbet>0{
ifbet>0{
g.Code=values.CodeWithdrawConditionBet
g.Code=values.CodeWithdrawConditionBet
g.Msg="आपने अभी तक आवश्यक दांव पूरे नहीं किए हैं। निकासी करने से पहले यह किया जाना चाहिए।"
g.Msg="You have not completed the required bets yet. Before making an extraction it should be done."
return
return
}
}
vip:=call.GetVIP(g.UID)
vip:=call.GetVIP(g.UID)
@ -31,7 +31,7 @@ func (g *Gin) CheckWithdrawCondition(amount int64, t common.CurrencyType) (ok bo
limit=con.Exp/common.DecimalDigits
limit=con.Exp/common.DecimalDigits
}
}
g.Code=values.CodeWithdrawConditionVip
g.Code=values.CodeWithdrawConditionVip
g.Msg=fmt.Sprintf("अपर्याप्त वीआईपी स्तर आपकी टॉप-अप राशि R( $ %d VIP1 बनने और अपना पैसा निकालने में सक्षम होने के लिए.",limit)
g.Msg=fmt.Sprintf("Insufficient VIP levels your topup amount ($%d to become vip1 and be able to withdraw your money.",limit)
return
return
}
}
re:=call.GetRechargeInfo(g.UID)
re:=call.GetRechargeInfo(g.UID)
@ -43,7 +43,7 @@ func (g *Gin) CheckWithdrawCondition(amount int64, t common.CurrencyType) (ok bo
// if re.DayWithdraw+amount >= con.WithdrawLimit || re.WithdrawCount+1 >= con.WithdrawCount {
// if re.DayWithdraw+amount >= con.WithdrawLimit || re.WithdrawCount+1 >= con.WithdrawCount {