feat: user related logic refactor

This commit is contained in:
merlin
2025-11-27 17:42:31 +08:00
parent 23cb31d4fe
commit 0ea6e13064
28 changed files with 738 additions and 52 deletions

View File

@@ -3,16 +3,27 @@ package xin.merlin.myplayerbackend.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@TableName("audit")
@AllArgsConstructor
@NoArgsConstructor
public class Audit {
@TableId("a_id")
private Integer a_id;
// 约定type == 0 已通过审核, 1 用户头像待审核, 2 群聊头像待审核, 3 playroom头像待审核 4 修改邮箱请求, 5 已经通过验证的邮箱修改请求, 6 已过期的审核请求
private Integer type;
private Integer applicant;
private Integer influence;
private String changed;
public Audit(Integer type,Integer applicant,Integer influence,String changed) {
this.type = type;
this.applicant = applicant;
this.influence = influence;
this.changed = changed;
}
}