This commit is contained in:
aozhiwei 2024-04-12 16:30:35 +08:00
parent 80d57eaa94
commit c9a7498d7c
2 changed files with 4 additions and 3 deletions

View File

@ -93,15 +93,15 @@ func (this *dbLogMgr) GuildCreateConsumeEnd(accountId string, guildId string, gu
})
}
func (this *dbLogMgr) GuildAccpetApply(string, string, string) {
func (this *dbLogMgr) GuildAccpetApply(guildId string, accountId string, targetId string) {
}
func (this *dbLogMgr) GuildLeave(string, string) {
func (this *dbLogMgr) GuildLeave(guildId string, memberId string) {
}
func (this *dbLogMgr) GuildKickout(string, string, string) {
func (this *dbLogMgr) GuildKickout(guildId string, ownerId string, memberId string) {
}

View File

@ -372,6 +372,7 @@ func (this *guildMgr) asyncAcceptApplyTask(task *f5.LockAsyncTask, guild *guild,
model.GuildApply.SetStatus(guild.guildId, targetId, constant.GUILD_APPLY_STATUS_ACCEPT,
func (err error, lastInsertId int64, rowsAffected int64) {
task.SetSucc()
GetDbLogMgr().GuildAccpetApply(guild.guildId, accountId, targetId)
cb(0, "", guild.guildId, guild.guildName)
return
})