|
@@ -313,7 +313,7 @@ func (t *StructedData) SendMailVerify() {
|
|
|
if isEmail(email) {
|
|
|
lastSendDEVerify := util.Int64All(t.GetSession("CreatSMVerifyTime"))
|
|
|
timeSpaceing := lastSendDEVerify - time.Now().Unix() + 60*5
|
|
|
- incurKey := fmt.Sprintf("SendSMEmail_%s_%t", t.GetSession("userId"), time.Now().Day())
|
|
|
+ incurKey := fmt.Sprintf("SendSMEmail_%s_%d", t.GetSession("userId"), time.Now().Day())
|
|
|
if lastSendDEVerify == 0 || timeSpaceing < 0 {
|
|
|
//每日限制10次
|
|
|
times := util.IntAll(redis.Get("other", incurKey))
|