This commit is contained in:
aozhiwei 2024-04-04 14:18:41 +08:00
parent 9a4a7097a7
commit f671747789

View File

@ -316,7 +316,7 @@ func (this *guildMgr) AsyncApplyJoin(accountId string, guildId string, cb func(i
}) })
} }
func (this *guildMgr) asyncAcceptApplyTask(task *f5.AsyncTask, func (this *guildMgr) asyncAcceptApplyTask(task *f5.AsyncTask, guild *guild,
accountId string, targetId string, cb func(int32, string)) { accountId string, targetId string, cb func(int32, string)) {
} }
@ -333,7 +333,7 @@ func (this *guildMgr) AsyncAcceptApply(accountId string, targetId string, cb fun
}, },
f5.NewAsyncTask( f5.NewAsyncTask(
func (task *f5.AsyncTask) { func (task *f5.AsyncTask) {
this.asyncAcceptApplyTask(task, accountId, targetId, cb) this.asyncAcceptApplyTask(task, guild, accountId, targetId, cb)
})) }))
} }