实现JWT身份认证机制,新增JWT认证过滤器和服务,更新链接生成接口以支持JWT验证,删除旧的用户控制器,添加JWT认证文档,增强错误处理和日志记录。

This commit is contained in:
zyh
2025-08-25 21:26:16 +08:00
parent 3f01d8590a
commit 7317866f98
54 changed files with 551 additions and 163 deletions

View File

@@ -7,15 +7,11 @@ public class LinkGenerateRequest {
private Integer times;
@Schema(description = "每次打的数量", example = "5")
private Integer perTimeQuantity;
@Schema(description = "为哪个代理账户生成(管理员可指定,代理可省略或为自己)")
private Long agentAccountId;
public Integer getTimes() { return times; }
public void setTimes(Integer times) { this.times = times; }
public Integer getPerTimeQuantity() { return perTimeQuantity; }
public void setPerTimeQuantity(Integer perTimeQuantity) { this.perTimeQuantity = perTimeQuantity; }
public Long getAgentAccountId() { return agentAccountId; }
public void setAgentAccountId(Long agentAccountId) { this.agentAccountId = agentAccountId; }
}