1.app角色升级功能
2.sys_user表新增字段
This commit is contained in:
@@ -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;
|
||||
|
||||
/**
|
||||
* 用户新增操作实体
|
||||
*
|
||||
|
||||
@@ -143,4 +143,7 @@ public class User extends BaseEntity {
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private LocalDateTime lockTime;
|
||||
|
||||
private String devCode;
|
||||
|
||||
private String headSculpture;
|
||||
}
|
||||
|
||||
@@ -46,4 +46,7 @@ public class UserVO extends UserParam implements Serializable {
|
||||
@ApiModelProperty("角色id")
|
||||
private List<String> roleList;
|
||||
|
||||
@ApiModelProperty("头像")
|
||||
private String headSculpture;
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user