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

swagger密码访问不生效 #2253

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