2020-02-06 00:52:49 +08:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<title>sa-token</title>
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
|
|
|
<meta name="description" content="Description">
|
|
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
|
|
|
<meta name="keywords" content="sa-token|sa-token框架|sa-token文档|sa-token在线文档|权限认证框架">
|
2020-06-02 21:40:09 +08:00
|
|
|
|
<meta name="description" content="sa-token是一个JavaWeb权限认证框架,强大、简单、好用,登录验证、权限验证、自定义session会话、踢人下线、持久层扩展、无cookie模式、模拟他人账号、多账号体系、注解式鉴权、Spring集成...,零配置开箱即用,覆盖所有应用场景,你所需要的功能,这里都有">
|
2020-04-21 23:34:55 +08:00
|
|
|
|
<link rel="stylesheet" href="https://unpkg.com/docsify@4.11.3/lib/themes/vue.css">
|
2020-06-15 22:03:41 +08:00
|
|
|
|
<link rel="stylesheet" href="./index.css">
|
2020-02-06 00:52:49 +08:00
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="logo.png">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<a href="/">
|
|
|
|
|
<div class="logo-box">
|
|
|
|
|
<img src="logo.png" title="logo" />
|
|
|
|
|
<h1 class="logo-text">sa-token</h1>
|
|
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
<nav>
|
|
|
|
|
<a href="/">首页</a>
|
|
|
|
|
<a href="/doc/">文档</a>
|
2020-07-13 03:48:14 +08:00
|
|
|
|
<a href="http://sa-app.dev33.cn/wall.html?name=sa-token" target="_blank">需求墙</a>
|
2020-02-06 00:52:49 +08:00
|
|
|
|
<a href="/doc/#/more/update-log">更新日志</a>
|
|
|
|
|
</nav>
|
|
|
|
|
<div id="app">加载中...</div>
|
|
|
|
|
<script>
|
|
|
|
|
var name = '<img style="width: 50px; height: 50px; vertical-align: middle;" src="logo.png" alt="logo" /> ';
|
2020-05-02 15:19:55 +08:00
|
|
|
|
name += '<b style="font-size: 24px; vertical-align: middle;">sa-token</b> <sub>v1.0.3</sub>'
|
2020-02-06 00:52:49 +08:00
|
|
|
|
window.$docsify = {
|
|
|
|
|
name: name, // 名字
|
|
|
|
|
repo: 'https://github.com/click33/sa-token', // github地址
|
|
|
|
|
// themeColor: '#06A3D7', // 主题颜色
|
2020-05-02 15:19:55 +08:00
|
|
|
|
basePath: location.pathname.substr(0, location.pathname.lastIndexOf('/') + 1), // 自动计算项目名字
|
2020-02-06 00:52:49 +08:00
|
|
|
|
// basePath: '/sa-token-doc/', // 设置文件加载的父路径, 这在一些带项目名部署的文件中非常有效
|
|
|
|
|
auto2top: true, // 是否在切换页面后回到顶部
|
|
|
|
|
// coverpage: true, // 开启封面
|
|
|
|
|
subMaxLevel: 3, // 标题解析层级, 写几就在目录树中解析到几级标题 ,一般写2吧也就
|
|
|
|
|
loadSidebar: true, // 加载自定义侧边栏 , 目录定制在: _sidebar.md 文件 (需要创建 .nojekyll 的空文件,阻止 GitHub Pages 忽略命名是下划线开头的文件)
|
|
|
|
|
copyCode: { // 复制插件
|
|
|
|
|
buttonText: '复制到剪贴板',
|
|
|
|
|
errorText: '错误',
|
|
|
|
|
successText: '复制成功'
|
|
|
|
|
},
|
2020-04-21 23:34:55 +08:00
|
|
|
|
// search: 'auto', // 搜索功能
|
2020-02-06 00:52:49 +08:00
|
|
|
|
alias: {
|
|
|
|
|
'/.*/_sidebar.md': '/_sidebar.md'
|
2020-06-15 22:03:41 +08:00
|
|
|
|
},
|
|
|
|
|
plugins: [ // 自定义插件
|
|
|
|
|
function(hook, vm) {
|
|
|
|
|
// 解析之后执行
|
|
|
|
|
hook.afterEach(function(html) {
|
|
|
|
|
var url = 'https://github.com/click33/sa-token/tree/master/sa-token-doc/doc/' + vm.route.file;
|
|
|
|
|
var footer = [
|
|
|
|
|
'<br/><br/><br/><br/><br/><br/><br/><hr/>',
|
|
|
|
|
'<footer>',
|
|
|
|
|
' <span>发现错误?想参与编辑? <a href="' + url + '" target="_blank">在 GitHub 上编辑此页!</a> </span>',
|
|
|
|
|
'</footer>'
|
|
|
|
|
].join('');
|
|
|
|
|
return html + footer;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
]
|
2020-02-06 00:52:49 +08:00
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<script src="https://unpkg.com/docsify@4.9.4/lib/docsify.min.js"></script>
|
|
|
|
|
<script src="https://unpkg.com/docsify-copy-code@2.1.0/dist/docsify-copy-code.min.js"></script>
|
|
|
|
|
<script src="https://unpkg.com/prismjs@1.19.0/components/prism-java.min.js"></script>
|
2020-06-15 22:03:41 +08:00
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
|
2020-02-06 00:52:49 +08:00
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
(function() {
|
|
|
|
|
var bp = document.createElement('script');
|
|
|
|
|
var curProtocol = window.location.protocol.split(':')[0];
|
|
|
|
|
if (curProtocol === 'https') {
|
|
|
|
|
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
|
|
|
|
} else {
|
|
|
|
|
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
|
|
|
|
}
|
|
|
|
|
var s = document.getElementsByTagName("script")[0];
|
|
|
|
|
s.parentNode.insertBefore(bp, s);
|
|
|
|
|
})();
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|