refactor: 代码优化

This commit is contained in:
haoxr
2024-12-01 21:30:09 +08:00
parent 4fba72d336
commit 631025e540
10 changed files with 106 additions and 96 deletions

View File

@@ -4,16 +4,16 @@ import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 修改邮箱表单
* 绑定邮箱表单
*
* @author Ray
* @author Ray.Hao
* @since 2024/8/19
*/
@Schema(description = "修改邮箱表单")
@Schema(description = "绑定邮箱表单")
@Data
public class EmailChangeForm {
public class EmailBindingForm {
@Schema(description = "原密码")
@Schema(description = "邮箱")
private String email;
@Schema(description = "验证码")

View File

@@ -4,16 +4,16 @@ import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 修改手机表单
* 绑定手机表单
*
* @author Ray
* @since 2024/8/19
*/
@Schema(description = "修改手机表单")
@Schema(description = "绑定手机表单")
@Data
public class MobileBindingForm {
@Schema(description = "原密")
@Schema(description = "手机号")
private String mobile;
@Schema(description = "验证码")