退出公会提出群聊
This commit is contained in:
@@ -536,8 +536,8 @@ class Guild extends Model
|
||||
return ['code' => 0, 'msg' => '审核失败', 'data' => null];
|
||||
}
|
||||
//减少公会人数
|
||||
db::name('vs_guild')->where('id', $apply_id)->setDec('num');
|
||||
model('api/Tencent')->delete_group_member('g'.$apply_id, $apply_info['user_id']);
|
||||
db::name('vs_guild')->where('id', $apply_info['guild_id'])->setDec('num');
|
||||
model('api/Tencent')->delete_group_member('g'.$apply_info['guild_id'], $apply_info['user_id']);
|
||||
} else {
|
||||
$update_data = [];
|
||||
$update_data['status'] = 2;
|
||||
|
||||
Reference in New Issue
Block a user