Support CN Client

- Add Chinese region server key configuration
- Rename UserLoginEntity to OverseaUserLoginEntity and adjust package path
- Add ChinaUserLoginEntity entity class to support Chinese region user data structure
- Modify CommonConfigHandler to distinguish between Chinese and overseas configuration returns
- Update HandlerPlayerLoginReq to be compatible with Chinese region login token parsing
- Add /user/set-info and /user/send-sms interfaces in HttpServer
- Modify UserLoginHandler to support both Chinese and overseas user login logic
- Add mobile phone number + verification code login method support
- Add channel recognition logic to return corresponding regional user data
This commit is contained in:
HongchengQ
2025-12-07 18:54:37 +08:00
committed by Melledy
parent 467b7443f3
commit a7eddd2ed0
8 changed files with 248 additions and 59 deletions

View File

@@ -22,6 +22,9 @@ public class GameConstants {
RegionConfig.getRegion("tw")
.setDataVersion(64);
RegionConfig.getRegion("cn")
.setDataVersion(64);
}
public static final ZoneId UTC_ZONE = ZoneId.of("UTC");