Commit c92cc261719f73e084bff8f6388fa64f285a7a4b
1 parent
33a31cfb
增加文档、视频教程的地址
Showing
4 changed files
with
12 additions
and
16 deletions
README.md
| ... | ... | @@ -9,6 +9,12 @@ |
| 9 | 9 | |
| 10 | 10 | 如果这个项目让你有所收获,记得 Star 关注哦,这对我是非常不错的鼓励与支持。 |
| 11 | 11 | |
| 12 | +## 🐶 新手必读 | |
| 13 | + | |
| 14 | +* 演示地址:<http://dashboard.yudao.iocoder.cn> | |
| 15 | +* 启动文档:<https://doc.iocoder.cn/quick-start/> | |
| 16 | +* 视频教程:<https://doc.iocoder.cn/video/> | |
| 17 | + | |
| 12 | 18 | ## 🐯 平台简介 |
| 13 | 19 | |
| 14 | 20 | **芋道**,以开发者为中心,打造中国第一流的快速开发平台,全部开源,个人与企业可 100% 免费使用。 |
| ... | ... | @@ -34,15 +40,6 @@ |
| 34 | 40 | | `yudao-cloud` | Spring Cloud 微服务 | **[Gitee](https://gitee.com/zhijiantianya/yudao-cloud)** [Github](https://github.com/YunaiV/yudao-cloud) | |
| 35 | 41 | | `Spring-Boot-Labs` | Spring Boot & Cloud 入门 | **[Gitee](https://gitee.com/zhijiantianya/SpringBoot-Labs)** [Github](https://github.com/YunaiV/SpringBoot-Labs) | |
| 36 | 42 | |
| 37 | -## 🐶 在线体验 | |
| 38 | - | |
| 39 | -演示地址:<http://dashboard.yudao.iocoder.cn> | |
| 40 | -* 账号密码:admin/admin123 | |
| 41 | - | |
| 42 | -文档地址:<http://www.iocoder.cn/categories/Yudao/> | |
| 43 | -* [《如何搭建环境》](http://www.iocoder.cn/categories/Yudao/?yudao) | |
| 44 | - | |
| 45 | -视频教程:<https://doc.iocoder.cn/video/> | |
| 46 | 43 | |
| 47 | 44 | ## 🐼 内置功能 |
| 48 | 45 | ... | ... |
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/config/YudaoWebSecurityConfigurerAdapter.java
| ... | ... | @@ -118,16 +118,16 @@ public class YudaoWebSecurityConfigurerAdapter extends WebSecurityConfigurerAdap |
| 118 | 118 | httpSecurity |
| 119 | 119 | // ①:全局共享规则 |
| 120 | 120 | .authorizeRequests() |
| 121 | - // 静态资源,可匿名访问 | |
| 121 | + // 1.1 静态资源,可匿名访问 | |
| 122 | 122 | .antMatchers(HttpMethod.GET, "/*.html", "/**/*.html", "/**/*.css", "/**/*.js").permitAll() |
| 123 | - // 设置 @PermitAll 无需认证 | |
| 123 | + // 1.2 设置 @PermitAll 无需认证 | |
| 124 | 124 | .antMatchers(HttpMethod.GET, permitAllUrls.get(HttpMethod.GET).toArray(new String[0])).permitAll() |
| 125 | 125 | .antMatchers(HttpMethod.POST, permitAllUrls.get(HttpMethod.POST).toArray(new String[0])).permitAll() |
| 126 | 126 | .antMatchers(HttpMethod.PUT, permitAllUrls.get(HttpMethod.PUT).toArray(new String[0])).permitAll() |
| 127 | 127 | .antMatchers(HttpMethod.DELETE, permitAllUrls.get(HttpMethod.DELETE).toArray(new String[0])).permitAll() |
| 128 | - // 基于 yudao.security.permit-all-urls 无需认证 | |
| 128 | + // 1.3 基于 yudao.security.permit-all-urls 无需认证 | |
| 129 | 129 | .antMatchers(securityProperties.getPermitAllUrls().toArray(new String[0])).permitAll() |
| 130 | - // 设置 App API 无需认证 | |
| 130 | + // 1.4 设置 App API 无需认证 | |
| 131 | 131 | .antMatchers(buildAppApi("/**")).permitAll() |
| 132 | 132 | // ②:每个项目的自定义规则 |
| 133 | 133 | .and().authorizeRequests(registry -> // 下面,循环设置自定义规则 |
| ... | ... | @@ -137,7 +137,7 @@ public class YudaoWebSecurityConfigurerAdapter extends WebSecurityConfigurerAdap |
| 137 | 137 | .anyRequest().authenticated() |
| 138 | 138 | ; |
| 139 | 139 | |
| 140 | - // 添加 JWT Filter | |
| 140 | + // 添加 Token Filter | |
| 141 | 141 | httpSecurity.addFilterBefore(authenticationTokenFilter, UsernamePasswordAuthenticationFilter.class); |
| 142 | 142 | } |
| 143 | 143 | ... | ... |
yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/enums/logger/LoginResultEnum.java
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/dal/dataobject/social/SocialUserDO.java