fix(pc-client,account-service): B-61 试用前小修 - 头像取首字/群头像拼格/近似灰Token收敛/重置密码踢下线,构建 v1.0.1 安装包

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
编码工程师
2026-08-16 01:07:53 +08:00
co-authored by multica-agent
parent 2fe8417900
commit 4cf1d4120a
19 changed files with 194 additions and 43 deletions
+1
View File
@@ -326,6 +326,7 @@ const routes = {
upsertEmployee(body.staffNo, emp.name, String(body.password));
if (employees[body.staffNo].status !== 'active') employees[body.staffNo].status = emp.status; // 保留停用状态
saveStore();
forceLogoutAll(body.staffNo); // 密码已改,立即踢掉该员工所有端,防止旧 token 继续使用
ok(res, publicView(employees[body.staffNo], body.staffNo));
},
};