update 优化 与 vue 版本同步代码结构

This commit is contained in:
疯狂的狮子Li
2023-06-16 01:46:39 +08:00
parent e388a8ed44
commit 4e590b155a
70 changed files with 271 additions and 255 deletions

View File

@@ -1,7 +1,5 @@
package org.dromara.system.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.dromara.common.core.constant.CacheConstants;
import lombok.Data;
import lombok.NoArgsConstructor;
@@ -122,7 +120,7 @@ public class LoginUser implements Serializable {
if (userId == null) {
throw new IllegalArgumentException("用户ID不能为空");
}
return userType + CacheConstants.LOGINID_JOIN_CODE + userId;
return userType + ":" + userId;
}
}