diff --git a/server/imserver_new/dblog/dblogmgr.go b/server/imserver_new/dblog/dblogmgr.go index 6a367596..7d4aef69 100644 --- a/server/imserver_new/dblog/dblogmgr.go +++ b/server/imserver_new/dblog/dblogmgr.go @@ -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) { } diff --git a/server/imserver_new/guild/guildmgr.go b/server/imserver_new/guild/guildmgr.go index 57c622b3..8cc7f9a5 100644 --- a/server/imserver_new/guild/guildmgr.go +++ b/server/imserver_new/guild/guildmgr.go @@ -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 })