1
This commit is contained in:
parent
cbec3c3a70
commit
ce6071c29f
@ -806,6 +806,7 @@ func (this *guildMgr) createGuildAndAddOwner(guildId string, guildName string, c
|
|||||||
g.addMember(m)
|
g.addMember(m)
|
||||||
this.addGuildMember(m)
|
this.addGuildMember(m)
|
||||||
}
|
}
|
||||||
|
this.updateGuildRank(g)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *guildMgr) addGuild(g *guild) {
|
func (this *guildMgr) addGuild(g *guild) {
|
||||||
|
@ -46,5 +46,12 @@ func (this *guild) DeleteSoft(guildId string,
|
|||||||
|
|
||||||
func (this *guild) UpdateKv(guildId string, fields [][]string,
|
func (this *guild) UpdateKv(guildId string, fields [][]string,
|
||||||
cb func (error, int64, int64)) {
|
cb func (error, int64, int64)) {
|
||||||
|
f5.GetJsStyleDb().Update(
|
||||||
|
constant.FRIEND_DB,
|
||||||
|
"t_guild",
|
||||||
|
fields,
|
||||||
|
[][]string{
|
||||||
|
{"guild_id", guildId},
|
||||||
|
},
|
||||||
|
cb)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user