This commit is contained in:
aozhiwei 2024-04-08 13:37:06 +08:00
parent 2e6e26cb30
commit a0a0387672

View File

@ -252,9 +252,9 @@ func (this *guildMgr) AsyncCreateGuild(accountId string, sessionId string, avata
cb func(int32, string, string)) {
guildId := q5.ToString(f5.GetApp().NewNodeUuid())
f5.NewLockAsyncTask([][]string{
{constant.MEMBER_LOCK_KEY, accountId},
{constant.GUILD_ID_LOCK_KEY, guildId},
{constant.GUILD_NAME_LOCK_KEY, name},
{constant.GUILD_MEMBER_LOCK_KEY, accountId},
},
func (task *f5.LockAsyncTask) {
if len(name) <= 0 {