release- app端注册音乐人添加手机号

release-2024-08-08
pikaqiudeshujia 7 months ago
parent 885742c2d8
commit f7231f8f8d

@ -52,11 +52,6 @@ public class ArtistController {
return Result.success(); return Result.success();
} }
@ApiOperation(value = "未审核的音乐人列表", notes = "未审核的音乐人列表") @ApiOperation(value = "未审核的音乐人列表", notes = "未审核的音乐人列表")
@GetMapping("/list/un-approve/{page}/{size}") @GetMapping("/list/un-approve/{page}/{size}")
public Result<PageResult<ArtistInfo>> getUnApproveList(@ApiParam(value = "Header中的token信息", required = true) @RequestHeader("Authorization") String token, public Result<PageResult<ArtistInfo>> getUnApproveList(@ApiParam(value = "Header中的token信息", required = true) @RequestHeader("Authorization") String token,

@ -24,15 +24,19 @@ import java.io.Serializable;
@Builder @Builder
@Data @Data
public class ArtistRegisterAppDto implements Serializable { public class ArtistRegisterAppDto implements Serializable {
@ApiModelProperty("歌手名") @ApiModelProperty(value = "歌手名", required = true)
@NotBlank(message = "歌手名必填") @NotBlank(message = "歌手名必填")
private String nickName; private String nickName;
@ApiModelProperty("所在地区") @ApiModelProperty(value = "所在地区", required = true)
@NotBlank(message = "所在地区必填") @NotBlank(message = "所在地区必填")
private String address; private String address;
@ApiModelProperty("流派风格") @ApiModelProperty(value = "流派风格", required = true)
@NotBlank(message = "流派风格必填") @NotBlank(message = "流派风格必填")
private String style; private String style;
@ApiModelProperty(name = "mobile", value = "手机号", required = true)
@NotBlank(message = "手机号必填")
private String mobile;
} }

@ -69,6 +69,9 @@ public class ArtistRegisterDto implements Serializable {
@NotBlank(message = "密码必填") @NotBlank(message = "密码必填")
private String password; private String password;
@ApiModelProperty(name = "mobile", value = "手机号")
private String mobile;
// @ApiModelProperty("负责人名称") // @ApiModelProperty("负责人名称")
// @NotBlank(message = "负责人名称必填") // @NotBlank(message = "负责人名称必填")
// private String responsibleName; // private String responsibleName;

@ -0,0 +1,3 @@
alter table tb_artist_register
add mobile varchar(50) null comment '手机号';
Loading…
Cancel
Save