From ba6381a07f99f9e0f11fd2dfc7cfbd63cff73c0d Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Wed, 27 Feb 2019 19:37:32 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20spring-boot-demo-rbac-security=20?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spring-boot-demo-rbac-security/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-demo-rbac-security/README.md b/spring-boot-demo-rbac-security/README.md index 8f5c9c3..02d7fba 100644 --- a/spring-boot-demo-rbac-security/README.md +++ b/spring-boot-demo-rbac-security/README.md @@ -28,7 +28,8 @@ 2. 使用 [`security.sql`](./sql/security.sql) 这个 SQL 文件,创建数据库表和初始化RBAC数据 3. 运行 `SpringBootDemoRbacSecurityApplication` 4. 管理员账号:admin/123456 普通用户:user/123456 -5. enjoy ~​ :kissing_smiling_eyes: +5. 登陆成功之后返回token,将获得的token放在具体请求的 Header 里,key 固定是 Authorization ,value 前缀为 Bearer 后面加空格再加token,并加上具体请求的参数,就可以了 +6. enjoy ~​ :kissing_smiling_eyes: ## 3. 部分关键代码