提交 d16520cc 编写于 作者: JEECG低代码平台's avatar JEECG低代码平台

swagger密码访问不生效 #2253

上级 0252213b
...@@ -36,7 +36,6 @@ import java.util.List; ...@@ -36,7 +36,6 @@ import java.util.List;
@EnableSwagger2 @EnableSwagger2
@EnableKnife4j @EnableKnife4j
@Import(BeanValidatorPluginsConfiguration.class) @Import(BeanValidatorPluginsConfiguration.class)
@ConditionalOnProperty(name = "swagger.enable", havingValue = "true")
public class Swagger2Config implements WebMvcConfigurer { public class Swagger2Config implements WebMvcConfigurer {
/** /**
......
...@@ -251,9 +251,8 @@ cas: ...@@ -251,9 +251,8 @@ cas:
logging: logging:
level: level:
org.jeecg.modules.system.mapper : info org.jeecg.modules.system.mapper : info
#enable swagger #swagger
swagger: knife4j:
enable: true
production: false production: false
basic: basic:
enable: false enable: false
......
...@@ -251,12 +251,11 @@ cas: ...@@ -251,12 +251,11 @@ cas:
logging: logging:
level: level:
org.jeecg.modules.system.mapper : info org.jeecg.modules.system.mapper : info
#enable swagger #swagger
swagger: knife4j:
enable: true
production: false production: false
basic: basic:
enable: false enable: true
username: jeecg username: jeecg
password: jeecg1314 password: jeecg1314
#第三方登录 #第三方登录
......
...@@ -251,9 +251,8 @@ logging: ...@@ -251,9 +251,8 @@ logging:
#cas单点登录 #cas单点登录
cas: cas:
prefixUrl: http://cas.example.org:8443/cas prefixUrl: http://cas.example.org:8443/cas
#enable swagger #swagger
swagger: knife4j:
enable: true
production: false production: false
basic: basic:
enable: false enable: false
......
...@@ -156,9 +156,13 @@ logging: ...@@ -156,9 +156,13 @@ logging:
#cas单点登录 #cas单点登录
cas: cas:
prefixUrl: http://localhost:8888/cas prefixUrl: http://localhost:8888/cas
#enable swagger #swagger
swagger: knife4j:
enable: true production: false
basic:
enable: false
username: jeecg
password: jeecg1314
#第三方登录 #第三方登录
justauth: justauth:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册