This commit is contained in:
那些花儿
2025-12-17 18:47:55 +08:00
parent 58dc4a0d85
commit 119a3235a2
2 changed files with 2 additions and 2 deletions
@@ -72,7 +72,7 @@ public class WkWebSocket extends AbstractWsEndpoint implements PubSub {
ScanResult<String> scan = null;
do {
scan = jedis.scan(scan == null ? ScanParams.SCAN_POINTER_START : scan.getStringCursor(), match);
for (String key : scan.getResult()) {
for (String key : scan.getResult()) {
switch (jedis.type(key)) {
case "none":
break;
@@ -303,11 +303,11 @@
//设置用户信息
setUser(state, payload) {
state.user = payload
state.room = payload.loginname + ":${@auth.getSessionId()}"
}
},
actions: {}
})
$.get("/platform/sys/user/getLogonUser").then((res) => {
if (res.code === 0) {
window.sessionStorage.setItem("user", JSON.stringify(res.data))