mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
101 lines
4.7 KiB
HTML
101 lines
4.7 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh">
|
||
<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在线文档|权限认证框架">
|
||
<meta name="description" content="sa-token是一个JavaWeb权限认证框架,强大、简单、好用,登录验证、权限验证、自定义session会话、踢人下线、持久层扩展、无cookie模式、模拟他人账号、多账号体系、注解式鉴权、花式token、自动续签、Spring集成...,零配置开箱即用,覆盖所有应用场景,你所需要的功能,这里都有">
|
||
<link rel="stylesheet" href="https://unpkg.com/docsify@4.11.3/lib/themes/vue.css">
|
||
<link rel="stylesheet" href="./lib/index.css">
|
||
<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>
|
||
<select onchange="location.href=this.value">
|
||
<option value="http://sa-token.dev33.cn/doc/index.html">最新版</option>
|
||
<option value="http://sa-token.dev33.cn/v/v1.6.0/doc/index.html">v1.6.0</option>
|
||
<option value="http://sa-token.dev33.cn/v/v1.5.1/doc/index.html">v1.5.1</option>
|
||
<option value="http://sa-token.dev33.cn/v/v1.4.0/doc/index.html">v1.4.0</option>
|
||
</select>
|
||
<a href="/">首页</a>
|
||
<a href="/doc/">文档</a>
|
||
<a href="http://sa-app.dev33.cn/wall.html?name=sa-token" target="_blank">需求墙</a>
|
||
<a href="/doc/#/more/update-log">更新日志</a>
|
||
</nav>
|
||
<div class="main-box">
|
||
<div id="app">加载中...</div>
|
||
</div>
|
||
<script>
|
||
var name = '<img style="width: 50px; height: 50px; vertical-align: middle;" src="logo.png" alt="logo" /> ';
|
||
name += '<b style="font-size: 24px; vertical-align: middle;">sa-token</b> <sub>v1.7.0</sub>'
|
||
window.$docsify = {
|
||
name: name, // 名字
|
||
repo: 'https://github.com/click33/sa-token', // github地址
|
||
// themeColor: '#06A3D7', // 主题颜色
|
||
basePath: location.pathname.substr(0, location.pathname.lastIndexOf('/') + 1), // 自动计算项目名字
|
||
// basePath: '/sa-token-doc/', // 设置文件加载的父路径, 这在一些带项目名部署的文件中非常有效
|
||
auto2top: true, // 是否在切换页面后回到顶部
|
||
// coverpage: true, // 开启封面
|
||
subMaxLevel: 3, // 标题解析层级, 写几就在目录树中解析到几级标题 ,一般写2吧也就
|
||
loadSidebar: true, // 加载自定义侧边栏 , 目录定制在: _sidebar.md 文件 (需要创建 .nojekyll 的空文件,阻止 GitHub Pages 忽略命名是下划线开头的文件)
|
||
copyCode: { // 复制插件
|
||
buttonText: '复制到剪贴板',
|
||
errorText: '错误',
|
||
successText: '复制成功'
|
||
},
|
||
// search: 'auto', // 搜索功能
|
||
alias: {
|
||
'/.*/_sidebar.md': '/_sidebar.md'
|
||
},
|
||
plugins: [ // 自定义插件
|
||
function(hook, vm) {
|
||
// 解析之后执行
|
||
hook.afterEach(function(html) {
|
||
var url = 'https://gitee.com/sz6/sa-token/tree/dev/sa-token-doc/doc/' + vm.route.file;
|
||
var url2 = 'https://github.com/click33/sa-token/tree/dev/sa-token-doc/doc/' + vm.route.file;
|
||
var footer = [
|
||
'<br/><br/><br/><br/><br/><br/><br/><hr/>',
|
||
'<footer>',
|
||
'<span>发现错误?想参与编辑? 在 <a href="' + url + '" target="_blank">Gitee</a> 或 <a href="' + url2 + '" target="_blank">GitHub</a> 上编辑此页!</span>',
|
||
'</footer>'
|
||
].join('');
|
||
return html + footer;
|
||
});
|
||
}
|
||
]
|
||
}
|
||
</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>
|
||
<script src="https://cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
|
||
|
||
<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>
|
||
<div style="height: 0px; overflow: hidden;">
|
||
<script type="text/javascript" src="https://v1.cnzz.com/z_stat.php?id=1279021391&web_id=1279021391"></script>
|
||
</div>
|
||
|
||
</body>
|
||
</html>
|