sdk:修改军团名时将玩家信息内的也修改下来
This commit is contained in:
@@ -121,6 +121,7 @@ export async function treatGuildName(content: string) {
|
||||
let chatSid = await getGuildChannelSid(params.code);
|
||||
pinus.app.rpc.chat.guildRemote.updateInfo.toServer(chatSid, params.code, { name: newName }); // 军团推送
|
||||
await updateUserInfo(REDIS_KEY.GUILD_INFO, params.code, [{ field: 'name', value: newName }]); // redis缓存信息
|
||||
await RoleModel.updateGuildName(params.code, newName);
|
||||
|
||||
} else if (params.type == 2) { // 公会公告
|
||||
await checkGuildName(params.code, params.serverId, undefined, '');
|
||||
|
||||
Reference in New Issue
Block a user