mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-10-11 02:05:15 +08:00
后端:用户登录、退出登录、获取用户状态相关功能完成;引入SessionManager;数据库:user_identity改为group;前端:添加登录页面、后台管理页面框架,axios POST请求Content-Type问题修复,引入md5、sha1 js库;小问题调整
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package plus.bookshelf.Common.SessionManager;
|
||||
|
||||
public abstract interface SessionManager {
|
||||
/**
|
||||
* 获取 Session
|
||||
* @param key
|
||||
* @return
|
||||
*/
|
||||
Object getValue(String key);
|
||||
|
||||
/**
|
||||
* 设置 Session
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
void setValue(String key, Object value);
|
||||
|
||||
/**
|
||||
* 移除 Session
|
||||
* @param key
|
||||
*/
|
||||
void remove(String key);
|
||||
}
|
Reference in New Issue
Block a user