From 841c8fec5cda842161bd8e8d28bf6deb83ae806c Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 06 五月 2025 17:31:16 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/captcha/dto/CaptchaDomain.java | 99 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 99 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/captcha/dto/CaptchaDomain.java b/pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/captcha/dto/CaptchaDomain.java new file mode 100644 index 0000000..4f10974 --- /dev/null +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-app/src/main/java/com/dy/pipIrrApp/captcha/dto/CaptchaDomain.java @@ -0,0 +1,99 @@ +package com.dy.pipIrrApp.captcha.dto; + +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; + +import java.awt.image.BufferedImage; +import java.io.Serializable; + +/** + * @author ZhuBaoMin + * @date 2024-09-11 13:46 + * @LastEditTime 2024-09-11 13:46 + * @Description + */ + +@JsonInclude(JsonInclude.Include.NON_NULL) +public class CaptchaDomain implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 楠岃瘉鐮佺殑Token + */ + private String token; + + /** + * 楠岃瘉鐮佺殑瀛楃銆傝繑鍥炵殑JSON锛岀姝㈣繑鍥炵粰鍓嶇銆� + */ + @JsonIgnore + private String text; + + /** + * 楠岃瘉鐮佺殑楠岃瘉瀛楃銆傛瘮濡傜畻寮忕殑缁撴灉绛夈�� + */ + @JsonIgnore + private String code; + + /** + * 楠岃瘉鐮佺紦鍐插浘鍍� + */ + @JsonIgnore + private BufferedImage image; + + /** + * 楠岃瘉鐮佸浘鐗囩殑Base64瀛楃涓� + */ + private String base64; + + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public String getText() { + return text; + } + + public void setText(String text) { + this.text = text; + } + + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public BufferedImage getImage() { + return image; + } + + public void setImage(BufferedImage image) { + this.image = image; + } + + public String getBase64() { + return base64; + } + + public void setBase64(String base64) { + this.base64 = base64; + } + + @Override + public String toString() { + return "CaptchaDomain{" + + "token='" + token + '\'' + + ", text='" + text + '\'' + + ", code='" + code + '\'' + + ", image=" + image + + ", base64='" + base64 + '\'' + + '}'; + } +} -- Gitblit v1.8.0