mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
登录接口增加图形验证码校验
This commit is contained in:
@@ -3,13 +3,14 @@ package xyz.playedu.api.request.frontend;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
import xyz.playedu.api.request.backend.types.ImageCaptchaRequestInterface;
|
||||
|
||||
/**
|
||||
* @Author 杭州白书科技有限公司
|
||||
* @create 2023/3/10 13:13
|
||||
*/
|
||||
@Data
|
||||
public class LoginPasswordRequest {
|
||||
public class LoginPasswordRequest implements ImageCaptchaRequestInterface {
|
||||
|
||||
@NotBlank(message = "请输入邮箱")
|
||||
private String email;
|
||||
@@ -23,6 +24,6 @@ public class LoginPasswordRequest {
|
||||
|
||||
@NotBlank(message = "请输入验证码")
|
||||
@JsonProperty("captcha_val")
|
||||
private String captchaVal;
|
||||
private String captchaValue;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user