🐞 fix(军团): 军团修改icon未更新redis

This commit is contained in:
luying
2023-05-10 15:33:14 +08:00
parent 862ca1fbbc
commit fdbf791290

View File

@@ -167,6 +167,9 @@ export class GuildHandler {
if (notice != undefined) {
pushGuildNoticeUpdateMsg(roleId, roleName, guild);
}
if(icon != undefined) {
await updateUserInfo(REDIS_KEY.GUILD_INFO, code, [{ field: 'icon', value: icon }]);
}
// 返回
return resResult(STATUS.SUCCESS, { ...guild });
}