Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c779b893
authored
Apr 19, 2021
by
1539136324@qq.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
登录接口设置为匿名模式
1 parent
88d9e5be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
linkwe-framework/src/main/java/com/linkwechat/framework/config/SecurityConfig.java
linkwe-framework/src/main/java/com/linkwechat/framework/config/SecurityConfig.java
View file @
c779b89
...
@@ -130,6 +130,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
...
@@ -130,6 +130,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.
antMatchers
(
"/wecom/community/h5/**"
).
anonymous
()
.
antMatchers
(
"/wecom/community/h5/**"
).
anonymous
()
//微信授权接口
//微信授权接口
.
antMatchers
(
"/weixin/auth/**"
).
anonymous
()
.
antMatchers
(
"/weixin/auth/**"
).
anonymous
()
.
antMatchers
(
"/weixin/auth/**"
).
anonymous
()
.
antMatchers
(
"/login"
).
anonymous
()
// 除上面外的所有请求全部需要鉴权认证
// 除上面外的所有请求全部需要鉴权认证
.
anyRequest
().
authenticated
()
.
anyRequest
().
authenticated
()
.
and
()
.
and
()
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment