mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
added: 学员登录api
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package xyz.playedu.api.request.backend;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.HashMap;
|
||||
@@ -11,6 +12,7 @@ import java.util.HashMap;
|
||||
@Data
|
||||
public class AppConfigRequest {
|
||||
|
||||
@NotNull(message = "配置为空")
|
||||
private HashMap<String, String> data;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
package xyz.playedu.api.request.frontend;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author 杭州白书科技有限公司
|
||||
* @create 2023/3/10 13:13
|
||||
*/
|
||||
@Data
|
||||
public class LoginPasswordRequest {
|
||||
|
||||
@NotBlank(message = "请输入邮箱")
|
||||
private String email;
|
||||
|
||||
@NotBlank(message = "请输入密码")
|
||||
private String password;
|
||||
|
||||
@NotBlank(message = "请输入验证码")
|
||||
@JsonProperty("captcha_key")
|
||||
private String captchaKey;
|
||||
|
||||
@NotBlank(message = "请输入验证码")
|
||||
@JsonProperty("captcha_val")
|
||||
private String captchaVal;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user