This commit is contained in:
aozhiwei 2024-04-09 08:32:58 +08:00
parent ae97e3c59e
commit 95193f9504
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ func (this *app) registerDataSources() {
func (this *app) AddSession(accountId string) string {
this.sessionLock.Lock()
defer this.sessionLock.Unlock()
uuid := f5.GetApp().NewUuid()
uuid := f5.GetApp().NewGlobalUuid()
str := fmt.Sprintf("%s%d%s%d", accountId, uuid, randStringBytes(12), time.Now().Unix())
md5New := md5.New()
strByte := []byte(str)

View File

@ -89,7 +89,7 @@ type GuildMgr interface {
GetRecommendGuilds(string) []Guild
GetGuildRank() []Guild
AsyncCreateGuild(string, string, int32, string, func(int32, string, string))
AsyncGetApplyList(int64, string, func(int32, string, int64, []string))
AsyncGetApplyList(int64, string, func(int32, string, int64, []string, []int32))
AsyncApplyJoin(string, string, func(int32, string))
AsyncAcceptApply(string, string, func(int32, string))
AsyncRejectApply(string, string, func(int32, string))