好友邀请码
This commit is contained in:
parent
0765eaf13c
commit
b142411fc5
@ -29,7 +29,6 @@
|
||||
"RedisPort" :"6379",
|
||||
"RedisPwd" :"",
|
||||
"GoogleVerify":false,
|
||||
"CountryCode" : "001",
|
||||
"RemoteAddr":"host.docker.internal:9001",
|
||||
"Partition":3,
|
||||
"KafkaHost":"kafka-server",
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user