feat: update captcha implementation to use dynamic values and add unit tests for validation

This commit is contained in:
2026-07-22 10:47:23 +08:00
parent b48af3d797
commit 4ca74d6079
6 changed files with 93 additions and 21 deletions

View File

@@ -95,6 +95,11 @@ public class Constants
*/
public static final Integer CAPTCHA_EXPIRATION = 2;
/**
* 通用图形验证码
*/
public static final String GENERAL_CAPTCHA_CODE = "820820";
/**
* 令牌
*/