diff --git a/README.md b/README.md
index 5de74353..72aba32c 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-
+
sa-token v1.15.2
这可能是史上功能最全的 Java 权限认证框架!
-
-
+
+
@@ -120,7 +120,7 @@ sa-token API 众多,请恕此处无法为您逐一展示,更多示例请戳
## Star 趋势
-[](https://giteye.net/chart/NXJBWMNR)
+[](https://giteye.net/chart/NXJBWMNR)
[](https://starchart.cc/click33/sa-token)
@@ -140,7 +140,7 @@ sa-token秉承着开放的思想,欢迎大家为框架添砖加瓦:
## 使用sa-token的开源项目
-[**[ sa-plus]** 一个基于springboot架构的快速开发框架,内置代码生成器](https://gitee.com/sz6/sa-plus)
+[**[ sa-plus]** 一个基于springboot架构的快速开发框架,内置代码生成器](https://gitee.com/click33/sa-plus)
如果您的项目使用了sa-token,欢迎提交pr
diff --git a/sa-token-doc/doc/README.md b/sa-token-doc/doc/README.md
index 5de74353..72aba32c 100644
--- a/sa-token-doc/doc/README.md
+++ b/sa-token-doc/doc/README.md
@@ -1,11 +1,11 @@
-
+
sa-token v1.15.2
这可能是史上功能最全的 Java 权限认证框架!
-
-
+
+
@@ -120,7 +120,7 @@ sa-token API 众多,请恕此处无法为您逐一展示,更多示例请戳
## Star 趋势
-[](https://giteye.net/chart/NXJBWMNR)
+[](https://giteye.net/chart/NXJBWMNR)
[](https://starchart.cc/click33/sa-token)
@@ -140,7 +140,7 @@ sa-token秉承着开放的思想,欢迎大家为框架添砖加瓦:
## 使用sa-token的开源项目
-[**[ sa-plus]** 一个基于springboot架构的快速开发框架,内置代码生成器](https://gitee.com/sz6/sa-plus)
+[**[ sa-plus]** 一个基于springboot架构的快速开发框架,内置代码生成器](https://gitee.com/click33/sa-plus)
如果您的项目使用了sa-token,欢迎提交pr
diff --git a/sa-token-doc/doc/index.html b/sa-token-doc/doc/index.html
index e416d96a..a6554aad 100644
--- a/sa-token-doc/doc/index.html
+++ b/sa-token-doc/doc/index.html
@@ -69,7 +69,7 @@
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 url = 'https://gitee.com/click33/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 = [
'
',
diff --git a/sa-token-doc/doc/more/common-questions.md b/sa-token-doc/doc/more/common-questions.md
index 1d25900c..c1d49c14 100644
--- a/sa-token-doc/doc/more/common-questions.md
+++ b/sa-token-doc/doc/more/common-questions.md
@@ -9,7 +9,7 @@
### 整合Redis时,除了引入pom依赖,还需要做其它的吗?
-引入pom依赖后,在框架层面你无须做其它事情,但是你需要为项目指定一下`Redis`的连接信息,参考此文件:[application-dev](https://gitee.com/sz6/sa-plus/blob/master/sp-server/src/main/resources/application-dev.yml)
+引入pom依赖后,在框架层面你无须做其它事情,但是你需要为项目指定一下`Redis`的连接信息,参考此文件:[application-dev](https://gitee.com/click33/sa-plus/blob/master/sp-server/src/main/resources/application-dev.yml)
### 登录方法需要我自己实现吗?
diff --git a/sa-token-doc/doc/more/link.md b/sa-token-doc/doc/more/link.md
index 267f2f31..c95cb16b 100644
--- a/sa-token-doc/doc/more/link.md
+++ b/sa-token-doc/doc/more/link.md
@@ -4,7 +4,7 @@
#### 集成sa-token的开源项目:
-[[sa-plus] 一个基于springboot架构的快速开发框架,内置代码生成器](https://gitee.com/sz6/sa-plus)
+[[sa-plus] 一个基于springboot架构的快速开发框架,内置代码生成器](https://gitee.com/click33/sa-plus)
diff --git a/sa-token-doc/doc/more/update-log.md b/sa-token-doc/doc/more/update-log.md
index 36237474..fc35e790 100644
--- a/sa-token-doc/doc/more/update-log.md
+++ b/sa-token-doc/doc/more/update-log.md
@@ -158,4 +158,4 @@
### 2020-2-4 @v1.0.0
- 第一个版本出炉
- GitHub:[https://github.com/click33/sa-token](https://github.com/click33/sa-token)
-- gitee:[https://gitee.com/sz6/sa-token](https://gitee.com/sz6/sa-token)
+- gitee:[https://gitee.com/click33/sa-token](https://gitee.com/click33/sa-token)
diff --git a/sa-token-doc/doc/start/download.md b/sa-token-doc/doc/start/download.md
index 0b998f3c..ad5f9f33 100644
--- a/sa-token-doc/doc/start/download.md
+++ b/sa-token-doc/doc/start/download.md
@@ -24,7 +24,7 @@ implementation 'cn.dev33:sa-token-spring-boot-starter:1.15.2'
## 获取源码
如果你想深入了解`sa-token`,你可以通过`github`或者`gitee`来获取源码
- github地址:[https://github.com/click33/sa-token](https://github.com/click33/sa-token)
-- gitee地址:[https://gitee.com/sz6/sa-token](https://gitee.com/sz6/sa-token)
+- gitee地址:[https://gitee.com/click33/sa-token](https://gitee.com/click33/sa-token)
- 开源不易,求鼓励,给个`star`吧
- 源码目录介绍:
```
diff --git a/sa-token-doc/doc/use/jur-auth.md b/sa-token-doc/doc/use/jur-auth.md
index f122ab28..e47885c4 100644
--- a/sa-token-doc/doc/use/jur-auth.md
+++ b/sa-token-doc/doc/use/jur-auth.md
@@ -8,11 +8,9 @@
有,就让你通过。没有?那么禁止访问!
再往底了说,就是每个账号都会拥有一个权限码集合,我来验证这个集合中是否包含指定的权限码
-例如:当前账号拥有权限码集合:`["user:add", "user:delete", "user:get"]`,这时候我来验证权限 `"user:update"`,则其结果就是:**验证失败,禁止访问**
+例如:当前账号拥有权限码集合:`["user:add", "user:delete", "user:get"]`,这时候我来验证权限 `"user:update"`,则其结果就是:**验证失败,禁止访问**
(注意: 冒号无特殊含义,可有可无)
-
-
所以现在问题的核心就是:
1. 如何获取一个账号所拥有的的权限码集合
2. 本次操作需要验证的权限码是哪个
@@ -68,7 +66,7 @@ public class StpInterfaceImpl implements StpInterface {
}
```
-可参考代码:[码云:StpInterfaceImpl.java](https://gitee.com/sz6/sa-token/blob/master/sa-token-demo-springboot/src/main/java/com/pj/satoken/StpInterfaceImpl.java)
+可参考代码:[码云:StpInterfaceImpl.java](https://gitee.com/click33/sa-token/blob/master/sa-token-demo-springboot/src/main/java/com/pj/satoken/StpInterfaceImpl.java)
@@ -115,7 +113,7 @@ StpUtil.checkRoleOr("user:update", "user:delete");
### 拦截全局异常
有同学要问,鉴权失败,抛出异常,然后呢?要把异常显示给用户看吗?**当然不可以!**
-你可以创建一个全局异常拦截器,统一返回给前端的格式,参考:[码云:GlobalException.java](https://gitee.com/sz6/sa-token/blob/master/sa-token-demo-springboot/src/main/java/com/pj/test/GlobalException.java)
+你可以创建一个全局异常拦截器,统一返回给前端的格式,参考:[码云:GlobalException.java](https://gitee.com/click33/sa-token/blob/master/sa-token-demo-springboot/src/main/java/com/pj/test/GlobalException.java)
### 如何把权限精确搭到按钮级?
diff --git a/sa-token-doc/doc/use/login-auth.md b/sa-token-doc/doc/use/login-auth.md
index fc8725a0..b0a2e5b2 100644
--- a/sa-token-doc/doc/use/login-auth.md
+++ b/sa-token-doc/doc/use/login-auth.md
@@ -7,8 +7,6 @@
所谓登录验证,说白了就是限制某些接口只有登录后才能访问(如:查询我的账号资料)
那么判断一个会话是否登录的依据是什么?当然是登录成功后框架给你做个标记!然后在需要鉴权的接口里检查此标记,有标记者视为已登录,无标记者视为未登录!
-
-
### 登录与注销
根据以上思路,我们很容易想到以下api:
diff --git a/sa-token-doc/doc/use/many-account.md b/sa-token-doc/doc/use/many-account.md
index 2103e34d..898f01ae 100644
--- a/sa-token-doc/doc/use/many-account.md
+++ b/sa-token-doc/doc/use/many-account.md
@@ -12,7 +12,7 @@
### 解决方案
以上几篇介绍的api调用,都是经过 `StpUtil` 类的各种静态方法进行授权验证,
-而如果我们深入它的源码,[点此阅览](https://gitee.com/sz6/sa-token/blob/master/sa-token-core/src/main/java/cn/dev33/satoken/stp/StpUtil.java)
+而如果我们深入它的源码,[点此阅览](https://gitee.com/click33/sa-token/blob/master/sa-token-core/src/main/java/cn/dev33/satoken/stp/StpUtil.java)
就会发现,此类并没有任何代码逻辑,唯一做的事就是对成员变量`stpLogic`的各个API包装一下进行转发
这样做有两个优点:
diff --git a/sa-token-doc/index.html b/sa-token-doc/index.html
index edf91703..8697070f 100644
--- a/sa-token-doc/index.html
+++ b/sa-token-doc/index.html
@@ -48,7 +48,7 @@
有了sa-token,你所有的权限认证问题,都不再是问题!