feat: 添加获取当前用户积分余额的接口

This commit is contained in:
zyh
2025-08-29 23:55:34 +08:00
parent 64f9e6ef17
commit cc69ac1fee
6 changed files with 291 additions and 1 deletions

View File

@@ -0,0 +1,50 @@
package com.gameplatform.server.model.dto.account;
import io.swagger.v3.oas.annotations.media.Schema;
@Schema(description = "用户积分余额响应")
public class PointsBalanceResponse {
@Schema(description = "用户ID")
private Long userId;
@Schema(description = "用户名")
private String username;
@Schema(description = "用户类型")
private String userType;
@Schema(description = "积分余额")
private Long pointsBalance;
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getUserType() {
return userType;
}
public void setUserType(String userType) {
this.userType = userType;
}
public Long getPointsBalance() {
return pointsBalance;
}
public void setPointsBalance(Long pointsBalance) {
this.pointsBalance = pointsBalance;
}
}