排行榜:团长信息

This commit is contained in:
luying
2022-05-17 22:55:57 +08:00
parent 381c5f4eda
commit a538c9076d
8 changed files with 37 additions and 7 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ export async function joinGuild(code: string, guildName: string, lv: number, rol
let res: any = await lockData(serverId, DATA_NAME.JOIN_GUILD, code);// 加锁
if (!!res.err) return { status: -1, resResult: resResult(STATUS.REDLOCK_ERR) };
const result = await RoleModel.joinGuild(roleId, code, guildName);
const result = await RoleModel.joinGuild(roleId, code, guildName, false);
if (!result) {
res.releaseCallback();//解锁
return { status: -1, resResult: resResult(STATUS.GUILD_HAS_JOIN) };