diff --git a/luoo_user/src/main/java/com/luoo/user/controller/ArtistController.java b/luoo_user/src/main/java/com/luoo/user/controller/ArtistController.java index 23f4909..9bb8123 100644 --- a/luoo_user/src/main/java/com/luoo/user/controller/ArtistController.java +++ b/luoo_user/src/main/java/com/luoo/user/controller/ArtistController.java @@ -52,11 +52,6 @@ public class ArtistController { return Result.success(); } - - - - - @ApiOperation(value = "未审核的音乐人列表", notes = "未审核的音乐人列表") @GetMapping("/list/un-approve/{page}/{size}") public Result> getUnApproveList(@ApiParam(value = "Header中的token信息", required = true) @RequestHeader("Authorization") String token, diff --git a/luoo_user/src/main/java/com/luoo/user/dto/artist/ArtistRegisterAppDto.java b/luoo_user/src/main/java/com/luoo/user/dto/artist/ArtistRegisterAppDto.java index 7d4d9b5..1f8a7dc 100644 --- a/luoo_user/src/main/java/com/luoo/user/dto/artist/ArtistRegisterAppDto.java +++ b/luoo_user/src/main/java/com/luoo/user/dto/artist/ArtistRegisterAppDto.java @@ -24,15 +24,19 @@ import java.io.Serializable; @Builder @Data public class ArtistRegisterAppDto implements Serializable { - @ApiModelProperty("歌手名") + @ApiModelProperty(value = "歌手名", required = true) @NotBlank(message = "歌手名必填") private String nickName; - @ApiModelProperty("所在地区") + @ApiModelProperty(value = "所在地区", required = true) @NotBlank(message = "所在地区必填") private String address; - @ApiModelProperty("流派风格") + @ApiModelProperty(value = "流派风格", required = true) @NotBlank(message = "流派风格必填") private String style; + + @ApiModelProperty(name = "mobile", value = "手机号", required = true) + @NotBlank(message = "手机号必填") + private String mobile; } diff --git a/luoo_user/src/main/java/com/luoo/user/dto/artist/ArtistRegisterDto.java b/luoo_user/src/main/java/com/luoo/user/dto/artist/ArtistRegisterDto.java index 05a1c4e..c297ab4 100644 --- a/luoo_user/src/main/java/com/luoo/user/dto/artist/ArtistRegisterDto.java +++ b/luoo_user/src/main/java/com/luoo/user/dto/artist/ArtistRegisterDto.java @@ -69,6 +69,9 @@ public class ArtistRegisterDto implements Serializable { @NotBlank(message = "密码必填") private String password; + @ApiModelProperty(name = "mobile", value = "手机号") + private String mobile; + // @ApiModelProperty("负责人名称") // @NotBlank(message = "负责人名称必填") // private String responsibleName; diff --git a/luoo_user/src/main/resources/sql/20240624.sql b/luoo_user/src/main/resources/sql/20240624.sql new file mode 100644 index 0000000..87da7fc --- /dev/null +++ b/luoo_user/src/main/resources/sql/20240624.sql @@ -0,0 +1,3 @@ +alter table tb_artist_register + add mobile varchar(50) null comment '手机号'; +