1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-12 11:41:39 +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

@@ -14,9 +14,6 @@
const APIHOST = '<%= global.site.api.prefix %>';
axios.defaults.baseURL = APIHOST;
// 请求头 Content-Type
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
// 字体加载前先隐藏,不然文字会闪一下
$("html,body").css("opacity", "0");
</script>