MrShi
2025-04-23 c8b32b8bca79a116cfab70eb8c389907b664c9ca
server/src/main/java/com/doumee/service/common/CaptchaService.java
@@ -127,17 +127,13 @@
    @Data
    @ApiModel("验证码对象")
    public static class Captcha {
        @ApiModelProperty(value = "验证码UUID")
        private String uuid;
        @JsonIgnore
        @ApiModelProperty(value = "验证码", hidden = true)
        private String text;
        @ApiModelProperty(value = "验证码Base64")
        private String image;
        Captcha (String text, BufferedImage image) {
            this.uuid = UUID.randomUUID().toString();
            this.text = text;