From 49c254ed5bdc8348551d808ee72579a6d2221e3b Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期六, 04 十月 2025 18:43:12 +0800
Subject: [PATCH] fix(miniprogram): 切换 GraphQL 端点为 /graphql,修复 review/index 400
---
backend/src/main/java/com/rongyichuang/player/dto/response/PlayerInfoResponse.java | 24 +++++++++++++++++++++---
1 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/backend/src/main/java/com/rongyichuang/player/dto/response/PlayerInfoResponse.java b/backend/src/main/java/com/rongyichuang/player/dto/response/PlayerInfoResponse.java
index ea7ee50..e09ee6f 100644
--- a/backend/src/main/java/com/rongyichuang/player/dto/response/PlayerInfoResponse.java
+++ b/backend/src/main/java/com/rongyichuang/player/dto/response/PlayerInfoResponse.java
@@ -1,5 +1,7 @@
package com.rongyichuang.player.dto.response;
+import com.rongyichuang.common.dto.response.MediaResponse;
+
/**
* 瀛﹀憳淇℃伅鍝嶅簲
*/
@@ -7,8 +9,12 @@
private Long id;
private String name;
private String phone;
+ private Integer gender; // 鎬у埆
+ private String birthday; // 鍑虹敓鏃ユ湡
+ private String education; // 瀛﹀巻
+ private String introduction; // 涓汉浠嬬粛
private String description; // 绠�浠�
- private String avatarUrl; // 澶村儚URL锛堜粠 t_media 鑾峰彇锛屼娇鐢� MediaTargetType.STUDENT_AVATAR锛屽�间负6锛�
+ private PlayerUserInfoResponse userInfo; // 鍏宠仈鐨勭敤鎴蜂俊鎭紝鍖呭惈澶村儚
// Constructors
public PlayerInfoResponse() {}
@@ -23,9 +29,21 @@
public String getPhone() { return phone; }
public void setPhone(String phone) { this.phone = phone; }
+ public Integer getGender() { return gender; }
+ public void setGender(Integer gender) { this.gender = gender; }
+
+ public String getBirthday() { return birthday; }
+ public void setBirthday(String birthday) { this.birthday = birthday; }
+
+ public String getEducation() { return education; }
+ public void setEducation(String education) { this.education = education; }
+
+ public String getIntroduction() { return introduction; }
+ public void setIntroduction(String introduction) { this.introduction = introduction; }
+
public String getDescription() { return description; }
public void setDescription(String description) { this.description = description; }
- public String getAvatarUrl() { return avatarUrl; }
- public void setAvatarUrl(String avatarUrl) { this.avatarUrl = avatarUrl; }
+ public PlayerUserInfoResponse getUserInfo() { return userInfo; }
+ public void setUserInfo(PlayerUserInfoResponse userInfo) { this.userInfo = userInfo; }
}
\ No newline at end of file
--
Gitblit v1.8.0