From 3714621173c606c4c58439ed8941100ce9ddea14 Mon Sep 17 00:00:00 2001
From: Codex Assistant <codex@example.com>
Date: 星期三, 05 十一月 2025 15:10:49 +0800
Subject: [PATCH] bug
---
backend/src/main/java/com/rongyichuang/auth/dto/LoginResponse.java | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/backend/src/main/java/com/rongyichuang/auth/dto/LoginResponse.java b/backend/src/main/java/com/rongyichuang/auth/dto/LoginResponse.java
index a124112..44a32df 100644
--- a/backend/src/main/java/com/rongyichuang/auth/dto/LoginResponse.java
+++ b/backend/src/main/java/com/rongyichuang/auth/dto/LoginResponse.java
@@ -39,6 +39,7 @@
private String name;
private String phone;
private String userType; // 涓昏瑙掕壊绫诲瀷锛氫紭鍏坋mployee锛岀劧鍚巎udge锛屾渶鍚巔layer
+ private String avatarUrl; // 鐢ㄦ埛澶村儚URL
private EmployeeInfo employee;
private JudgeInfo judge;
private PlayerInfo player;
@@ -83,6 +84,14 @@
public void setUserType(String userType) {
this.userType = userType;
+ }
+
+ public String getAvatarUrl() {
+ return avatarUrl;
+ }
+
+ public void setAvatarUrl(String avatarUrl) {
+ this.avatarUrl = avatarUrl;
}
public EmployeeInfo getEmployee() {
@@ -232,16 +241,14 @@
private String name;
private String phone;
private String description;
- private Integer auditState; // 瀹℃牳鐘舵�侊細0-绛夊緟瀹℃牳锛�1-瀹℃牳閫氳繃锛�2-涓嶉�氳繃
public PlayerInfo() {}
- public PlayerInfo(Long id, String name, String phone, String description, Integer auditState) {
+ public PlayerInfo(Long id, String name, String phone, String description) {
this.id = id;
this.name = name;
this.phone = phone;
this.description = description;
- this.auditState = auditState;
}
// Getters and Setters
@@ -275,14 +282,6 @@
public void setDescription(String description) {
this.description = description;
- }
-
- public Integer getAuditState() {
- return auditState;
- }
-
- public void setAuditState(Integer auditState) {
- this.auditState = auditState;
}
}
}
\ No newline at end of file
--
Gitblit v1.8.0