refactor: refactoring code; update encryption algorithm; add build ci;
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user