1
This commit is contained in:
parent
a353bec8f4
commit
d896f9c5b0
@ -383,7 +383,18 @@ func (this *guildMgr) AsyncAcceptApply(accountId string, targetId string, cb fun
|
||||
|
||||
func (this *guildMgr) AsyncRejectApply(accountId string, targetId string,
|
||||
cb func(int32, string)) {
|
||||
cb(0, "")
|
||||
guild := this.internalGetGuildByAccountId(accountId)
|
||||
if guild == nil {
|
||||
cb(0, "")
|
||||
return;
|
||||
}
|
||||
this.asyncSetApplyStatus(
|
||||
targetId,
|
||||
guild.guildId,
|
||||
constant.GUILD_APPLY_STATUS_REJECT,
|
||||
func (err error, lastInsertId int64, rowsAffected int64) {
|
||||
cb(0, "")
|
||||
})
|
||||
}
|
||||
|
||||
func (this *guildMgr) AsyncLeave(string, string, func(int32, string)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user