-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update AccountContracts and AccountController to use formatted keys f…
…or Redis operations
- Loading branch information
1 parent
26e6ab5
commit 1fc9764
Showing
3 changed files
with
61 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
namespace LinCms.Cms.Account; | ||
|
||
public class AccountContracts | ||
{ | ||
/// <summary> | ||
/// 注册返回的uuid值 | ||
/// </summary> | ||
public static string SendEmailCode_EmailCode = "AccountService.SendEmailCode.EmailCode.{0}"; | ||
/// <summary> | ||
/// 注册时缓存的邮件验证码 | ||
/// </summary> | ||
public static string SendEmailCode_VerificationCode = "AccountService.SendEmailCode.VerificationCode.{0}"; | ||
|
||
/// <summary> | ||
/// 重置密码时邮件验证码 | ||
/// </summary> | ||
public static string SendPasswordResetCode_VerificationCode = "AccountService.SendPasswordResetCode.VerificationCode.{0}"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters