1
This commit is contained in:
parent
ae97e3c59e
commit
95193f9504
@ -92,7 +92,7 @@ func (this *app) registerDataSources() {
|
|||||||
func (this *app) AddSession(accountId string) string {
|
func (this *app) AddSession(accountId string) string {
|
||||||
this.sessionLock.Lock()
|
this.sessionLock.Lock()
|
||||||
defer this.sessionLock.Unlock()
|
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())
|
str := fmt.Sprintf("%s%d%s%d", accountId, uuid, randStringBytes(12), time.Now().Unix())
|
||||||
md5New := md5.New()
|
md5New := md5.New()
|
||||||
strByte := []byte(str)
|
strByte := []byte(str)
|
||||||
|
@ -89,7 +89,7 @@ type GuildMgr interface {
|
|||||||
GetRecommendGuilds(string) []Guild
|
GetRecommendGuilds(string) []Guild
|
||||||
GetGuildRank() []Guild
|
GetGuildRank() []Guild
|
||||||
AsyncCreateGuild(string, string, int32, string, func(int32, string, string))
|
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))
|
AsyncApplyJoin(string, string, func(int32, string))
|
||||||
AsyncAcceptApply(string, string, func(int32, string))
|
AsyncAcceptApply(string, string, func(int32, string))
|
||||||
AsyncRejectApply(string, string, func(int32, string))
|
AsyncRejectApply(string, string, func(int32, string))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user