好友邀请码

This commit is contained in:
hahwu 2025-07-14 17:01:29 +08:00
parent 0765eaf13c
commit b142411fc5
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,6 @@
"RedisPort" :"6379",
"RedisPwd" :"",
"GoogleVerify":false,
"CountryCode" : "001",
"RemoteAddr":"host.docker.internal:9001",
"Partition":3,
"KafkaHost":"kafka-server",

View File

@ -51,7 +51,7 @@ func (b *Base) InitData(Uid int) {
if CountryCode == "" {
CountryCode = "000"
}
b.AddCode = fmt.Sprintf("MMM-%s-%s", conf.Server.CountryCode, GoUtil.UniqueStringFromInt(Uid))
b.AddCode = fmt.Sprintf("MMM-%s-%s", CountryCode, GoUtil.UniqueStringFromInt(Uid))
}
if b.NickName == "" {
b.NickName = fmt.Sprintf("Player_%d", Uid)