1.app角色升级功能

2.sys_user表新增字段
This commit is contained in:
2023-06-25 20:59:01 +08:00
parent 59fbf75ca8
commit e19cb5e732
14 changed files with 419 additions and 0 deletions

View File

@@ -79,6 +79,12 @@ public class UserParam {
@NotEmpty(message = UserValidMessage.ROLE_NOT_BLANK)
private List<String> role;
@ApiModelProperty("手机识别码")
private String devCode;
@ApiModelProperty("移动端用户头像")
private String headSculpture;
/**
* 用户新增操作实体
*

View File

@@ -143,4 +143,7 @@ public class User extends BaseEntity {
@TableField(fill = FieldFill.INSERT_UPDATE)
private LocalDateTime lockTime;
private String devCode;
private String headSculpture;
}

View File

@@ -46,4 +46,7 @@ public class UserVO extends UserParam implements Serializable {
@ApiModelProperty("角色id")
private List<String> roleList;
@ApiModelProperty("头像")
private String headSculpture;
}

View File

@@ -0,0 +1,22 @@
package com.njcn.user.pojo.vo.app;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* 类的介绍:
*
* @author xuyang
* @version 1.0.0
* @createTime 2023/6/25 18:40
*/
@Data
public class RoleReferralCodeVO {
@ApiModelProperty("角色名称")
private String roleName;
@ApiModelProperty("角色推荐码")
private String roleReferralCode;
}