This commit is contained in:
aozhiwei 2024-04-11 21:10:15 +08:00
parent cbec3c3a70
commit ce6071c29f
2 changed files with 9 additions and 1 deletions

View File

@ -806,6 +806,7 @@ func (this *guildMgr) createGuildAndAddOwner(guildId string, guildName string, c
g.addMember(m)
this.addGuildMember(m)
}
this.updateGuildRank(g)
}
func (this *guildMgr) addGuild(g *guild) {

View File

@ -46,5 +46,12 @@ func (this *guild) DeleteSoft(guildId string,
func (this *guild) UpdateKv(guildId string, fields [][]string,
cb func (error, int64, int64)) {
f5.GetJsStyleDb().Update(
constant.FRIEND_DB,
"t_guild",
fields,
[][]string{
{"guild_id", guildId},
},
cb)
}