diff --git a/app/service/UserService.go b/app/service/UserService.go index 19f8073..c976f1b 100644 --- a/app/service/UserService.go +++ b/app/service/UserService.go @@ -212,7 +212,7 @@ func (this *UserService) UpdateEmailSendActiveEmail(userId, email string) (ok bo body := "邮箱验证后您的登录邮箱为: " + email + "
"; body += fmt.Sprintf("请点击链接验证邮箱: %v. %v小时后过期.", url, url, tokenService.GetOverHours(info.TokenUpdateEmail)); if !SendEmail(email, "leanote-验证邮箱", "验证邮箱", body) { - msg = "发送失败" + msg = "发送失败, 该邮箱存在?" return } ok = true @@ -291,4 +291,4 @@ func (this *UserService)UpdateColumnWidth(userId string, notebookWidth, noteList // 左侧是否隐藏 func (this *UserService)UpdateLeftIsMin(userId string, leftIsMin bool) bool { return db.UpdateByQMap(db.Users, bson.M{"_id": bson.ObjectIdHex(userId)}, bson.M{"LeftIsMin": leftIsMin}) -} +} \ No newline at end of file diff --git a/app/views/Note/note-dev.html b/app/views/Note/note-dev.html index 97454cd..014e5aa 100644 --- a/app/views/Note/note-dev.html +++ b/app/views/Note/note-dev.html @@ -834,7 +834,7 @@ function log(o) { - + diff --git a/app/views/Note/note.html b/app/views/Note/note.html index e3b70c4..e052e7f 100755 --- a/app/views/Note/note.html +++ b/app/views/Note/note.html @@ -834,7 +834,7 @@ function log(o) { - +