From 58d9f460b2f8c34430285115e2557d18333c5cab Mon Sep 17 00:00:00 2001 From: Codex Assistant <codex@example.com> Date: 星期三, 08 十月 2025 14:16:55 +0800 Subject: [PATCH] feat: 修复Player实体phone字段数据冗余问题并优化小程序报名逻辑 --- backend/src/main/java/com/rongyichuang/player/entity/Player.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/backend/src/main/java/com/rongyichuang/player/entity/Player.java b/backend/src/main/java/com/rongyichuang/player/entity/Player.java index 2380e81..a60dacd 100644 --- a/backend/src/main/java/com/rongyichuang/player/entity/Player.java +++ b/backend/src/main/java/com/rongyichuang/player/entity/Player.java @@ -23,7 +23,9 @@ /** * 鎵嬫満鍙� + * @deprecated 姝ゅ瓧娈靛凡搴熷純锛岃浣跨敤鍏宠仈User瀹炰綋鐨刾hone瀛楁 */ + @Deprecated @Column(name = "phone", length = 32, nullable = false, unique = true) private String phone; @@ -102,10 +104,18 @@ this.name = name; } + /** + * @deprecated 姝ゆ柟娉曞凡搴熷純锛岃浣跨敤鍏宠仈User瀹炰綋鐨刾hone瀛楁 + */ + @Deprecated public String getPhone() { return phone; } + /** + * @deprecated 姝ゆ柟娉曞凡搴熷純锛岃浣跨敤鍏宠仈User瀹炰綋鐨刾hone瀛楁 + */ + @Deprecated public void setPhone(String phone) { this.phone = phone; } -- Gitblit v1.8.0