feat(base): 添加邮箱注册码功能及用户注册接口 - 在 `sessionManager` 中新增邮件注册码缓存管理实例和相关方法 - 实现生成、保存、验证、删除邮件注册码的逻辑 - 新增 `/reg` 和 `/email` 接口用于用户注册和发送验证码 - 引入 `golang-lru` 依赖以支持限流缓存功能 - 调整包导入顺序,优化代码结构 ```
13 lines
432 B
Go
13 lines
432 B
Go
<!-- heimdall_github_prtemplate:grc-pci_dss-2024-01-05 -->
|
|
## Description
|
|
|
|
<!-- Provide a summary of what the PR does and why it is being submitted. -->
|
|
|
|
## Related Issue
|
|
|
|
<!-- If this PR is linked to any issue, provide the issue number or description here. Any related JIRA tickets can also be added here. -->
|
|
|
|
## How Has This Been Tested?
|
|
|
|
<!-- Describe how the changes have been tested. Provide test instructions or details. -->
|