diff --git a/README.En.md b/README.En.md index a87e9b61..f6d9d69d 100644 --- a/README.En.md +++ b/README.En.md @@ -45,7 +45,8 @@ It can help you to develop a microservice back-end management core in a short ti | Fully support K8s | Finished | | Service Monitor | Finished | | Log collecting | Finished | -| JWT blacklist | In progress | +| JWT blacklist | Finished | +| Job Schedule | In progress | ### The use of consul for service registration discovery in the early stage of the project is mainly to adapt to low-configuration servers. In the near future, the deployment process of K8s will be mainly optimized, and the project will mainly use K8s for deployment in the future. diff --git a/README.md b/README.md index 58779ef8..871ff544 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,8 @@ Simple Admin 是一个开箱即用的分布式微服务后端管理系统,基 | 全面支持 K8s | 已完成 | | 服务监控 | 已完成 | | 日志收集 | 已完成 | -| JWT黑名单 | 进行中 | +| JWT黑名单 | 已完成 | +| 定时任务 | 进行中 | ## 预览 diff --git a/docs/simple-admin/assets/block_token_en.png b/docs/simple-admin/assets/block_token_en.png new file mode 100644 index 00000000..86ca50cc Binary files /dev/null and b/docs/simple-admin/assets/block_token_en.png differ diff --git a/docs/simple-admin/assets/block_token_zh.png b/docs/simple-admin/assets/block_token_zh.png new file mode 100644 index 00000000..34e76b86 Binary files /dev/null and b/docs/simple-admin/assets/block_token_zh.png differ diff --git a/docs/simple-admin/assets/force_log_out_en.png b/docs/simple-admin/assets/force_log_out_en.png new file mode 100644 index 00000000..6a80cfbe Binary files /dev/null and b/docs/simple-admin/assets/force_log_out_en.png differ diff --git a/docs/simple-admin/assets/force_log_out_zh.png b/docs/simple-admin/assets/force_log_out_zh.png new file mode 100644 index 00000000..949940c4 Binary files /dev/null and b/docs/simple-admin/assets/force_log_out_zh.png differ diff --git a/docs/simple-admin/en/_sidebar.md b/docs/simple-admin/en/_sidebar.md index b5c4c4f6..b0edfe72 100644 --- a/docs/simple-admin/en/_sidebar.md +++ b/docs/simple-admin/en/_sidebar.md @@ -13,10 +13,8 @@ * [Develop Frontend](simple-admin/en/docs/web_develop_example.md) * [API Service](simple-admin/en/docs/api_example.md) * [RPC Service](simple-admin/en/docs/rpc_example.md) - * [Docker](simple-admin/en/docs/deploy_docker.md) * Tools * [Validator](/simple-admin/en/docs/validator.md) - * [Consul](/simple-admin/en/docs/consul.md) * [Swagger](simple-admin/en/docs/swagger.md) * [GORM](simple-admin/en/docs/gorm.md) * [Authorization](simple-admin/en/docs/authorization.md) @@ -24,4 +22,5 @@ * [Oauth](simple-admin/en/docs/oauth.md) * [Service Monitor](simple-admin/en/docs/prometheus.md) * [Log Collecting](simple-admin/en/docs/log-collection.md) + * [JWT Black List](simple-admin/en/docs/jwt_blacklist.md) * [FAQ](simple-admin/en/docs/FAQ.md) \ No newline at end of file diff --git a/docs/simple-admin/en/docs/jwt_blacklist.md b/docs/simple-admin/en/docs/jwt_blacklist.md new file mode 100644 index 00000000..2e9292a9 --- /dev/null +++ b/docs/simple-admin/en/docs/jwt_blacklist.md @@ -0,0 +1,12 @@ +# JWT black list + +> System will insert token into tokens table automatically, admin can block token or force logging out + +> Block token + +![pic](../../assets/block_token_en.png) +> Force logging out + +![pic](../../assets/force_log_out_en.png) + +> Notice: only support accuracy search \ No newline at end of file diff --git a/docs/simple-admin/zh-cn/_sidebar.md b/docs/simple-admin/zh-cn/_sidebar.md index c3e9c461..f9c44453 100644 --- a/docs/simple-admin/zh-cn/_sidebar.md +++ b/docs/simple-admin/zh-cn/_sidebar.md @@ -23,4 +23,5 @@ * [第三方登录](simple-admin/zh-cn/docs/oauth.md) * [服务监控](simple-admin/zh-cn/docs/prometheus.md) * [日志收集](simple-admin/zh-cn/docs/log-collection.md) + * [JWT黑名单](simple-admin/zh-cn/docs/jwt_blacklist.md) * [常见问题](simple-admin/zh-cn/docs/FAQ.md) \ No newline at end of file diff --git a/docs/simple-admin/zh-cn/docs/jwt_blacklist.md b/docs/simple-admin/zh-cn/docs/jwt_blacklist.md new file mode 100644 index 00000000..8eba4c0d --- /dev/null +++ b/docs/simple-admin/zh-cn/docs/jwt_blacklist.md @@ -0,0 +1,12 @@ +# JWT 黑名单 + +> 用户在登陆后会自动向token表写入token记录, 管理员可以从后台禁用token或者使用户强制登出 + +> 停用 token + +![pic](../../assets/block_token_zh.png) +> 强制登出 + +![pic](../../assets/force_log_out_zh.png) + +> 注意: 只支持精确搜索用户 \ No newline at end of file