dev:app端扫码入职流程代码修改

main
SondonYong 2025-12-04 10:01:19 +08:00
parent d5f31da708
commit 9ae0caad52
4 changed files with 13 additions and 13 deletions

View File

@ -22,11 +22,11 @@ import javax.validation.constraints.NotNull;
@AllArgsConstructor @AllArgsConstructor
public class AppUserInfoCmd extends Command { public class AppUserInfoCmd extends Command {
@ApiModelProperty(value = "主键id", name = "id") @ApiModelProperty(value = "主键id", name = "id", required = true)
@NotNull(message = "主键id不能为空") @NotNull(message = "主键id不能为空")
private Long id; private Long id;
@ApiModelProperty(value = "人脸照片url", name = "userAvatarUrl") @ApiModelProperty(value = "人脸照片url", name = "userAvatarUrl", required = true)
@NotEmpty(message = "人脸照片url不能为空") @NotEmpty(message = "人脸照片url不能为空")
private String userAvatarUrl; private String userAvatarUrl;

View File

@ -22,27 +22,27 @@ import javax.validation.constraints.NotNull;
@AllArgsConstructor @AllArgsConstructor
public class AppUserOnboardingCmd extends Command { public class AppUserOnboardingCmd extends Command {
@ApiModelProperty(value = "主键id", name = "id") @ApiModelProperty(value = "主键id", name = "id", required = true)
@NotNull(message = "主键id不能为空") @NotNull(message = "主键id不能为空")
private Long id; private Long id;
@ApiModelProperty(value = "企业id", name = "corpinfoId") @ApiModelProperty(value = "企业id", name = "corpinfoId", required = true)
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Long corpinfoId; private Long corpinfoId;
@ApiModelProperty(value = "企业名称", name = "corpinfoName") @ApiModelProperty(value = "企业名称", name = "corpinfoName", required = true)
@NotEmpty(message = "企业名称不能为空") @NotEmpty(message = "企业名称不能为空")
private String corpinfoName; private String corpinfoName;
@ApiModelProperty(value = "部门id", name = "departmentId") @ApiModelProperty(value = "部门id", name = "departmentId", required = true)
@NotNull(message = "部门id不能为空") @NotNull(message = "部门id不能为空")
private Long departmentId; private Long departmentId;
@ApiModelProperty(value = "部门名称", name = "departmentName") @ApiModelProperty(value = "部门名称", name = "departmentName", required = true)
@NotEmpty(message = "部门名称不能为空") @NotEmpty(message = "部门名称不能为空")
private String departmentName; private String departmentName;
@ApiModelProperty(value = "部门名称", name = "departmentName") @ApiModelProperty(value = "部门名称", name = "departmentName", required = true)
@NotEmpty(message = "部门名称不能为空") @NotEmpty(message = "部门名称不能为空")
private String postName; private String postName;

View File

@ -21,19 +21,19 @@ import javax.validation.constraints.NotEmpty;
@AllArgsConstructor @AllArgsConstructor
public class AppUserRegisterCmd extends Command { public class AppUserRegisterCmd extends Command {
@ApiModelProperty(value = "手机号", name = "phone") @ApiModelProperty(value = "手机号", name = "phone", required = true)
@NotEmpty(message = "手机号不能为空") @NotEmpty(message = "手机号不能为空")
private String phone; private String phone;
@ApiModelProperty(value = "密码", name = "password") @ApiModelProperty(value = "密码", name = "password", required = true)
@NotEmpty(message = "密码不能为空") @NotEmpty(message = "密码不能为空")
private String password; private String password;
@ApiModelProperty(value = "确认密码", name = "confirmPassword") @ApiModelProperty(value = "确认密码", name = "confirmPassword", required = true)
@NotEmpty(message = "确认密码不能为空") @NotEmpty(message = "确认密码不能为空")
private String confirmPassword; private String confirmPassword;
@ApiModelProperty(value = "验证码", name = "phoneCode") @ApiModelProperty(value = "验证码", name = "phoneCode", required = true)
@NotEmpty(message = "验证码不能为空") @NotEmpty(message = "验证码不能为空")
private String phoneCode; private String phoneCode;

View File

@ -16,7 +16,7 @@ import javax.validation.constraints.NotEmpty;
public class UserVerifyPhoneCmd { public class UserVerifyPhoneCmd {
@ApiModelProperty(value = "手机号", name = "phone", required = true) @ApiModelProperty(value = "手机号", name = "phone", required = true)
@NotEmpty @NotEmpty(message = "手机号不能为空")
private String phone; private String phone;
} }