refactor: refactoring code; update encryption algorithm; add build ci;

This commit is contained in:
merlin
2025-11-02 00:03:16 +08:00
parent e4f032a7f0
commit 62ded00cb3
15 changed files with 330 additions and 53 deletions

View File

@@ -68,8 +68,6 @@ public class MailController {
@PostMapping("/verifycode")
RequestBack verifyCode(@RequestBody Code code) {
//测试验证码
if (code.getCode().equals("666666")) return RequestBack.success(ResultCode.SUCCESS);
String id=code.getC_id();
if(codeFailCount.getIfPresent(id) == null) codeFailCount.put(id, 1);