1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-16 23:22:20 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

后端:用户登录、退出登录、获取用户状态相关功能完成;引入SessionManager;数据库:user_identity改为group;前端:添加登录页面、后台管理页面框架,axios POST请求Content-Type问题修复,引入md5、sha1 js库;小问题调整

This commit is contained in:
2022-04-01 17:50:22 +08:00
parent 54c6ce8bca
commit d3c9ba10c4
26 changed files with 440 additions and 74 deletions

View File

@@ -40,11 +40,11 @@ public class UserDO {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column user_info.user_identity
* This field corresponds to the database column user_info.group
*
* @mbg.generated
*/
private String userIdentity;
private String group;
/**
*
@@ -180,26 +180,26 @@ public class UserDO {
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column user_info.user_identity
* This method returns the value of the database column user_info.group
*
* @return the value of user_info.user_identity
* @return the value of user_info.group
*
* @mbg.generated
*/
public String getUserIdentity() {
return userIdentity;
public String getGroup() {
return group;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column user_info.user_identity
* This method sets the value of the database column user_info.group
*
* @param userIdentity the value for user_info.user_identity
* @param group the value for user_info.group
*
* @mbg.generated
*/
public void setUserIdentity(String userIdentity) {
this.userIdentity = userIdentity == null ? null : userIdentity.trim();
public void setGroup(String group) {
this.group = group == null ? null : group.trim();
}
/**