swagger密码访问不生效 #2253
This commit is contained in:
parent
dc91b8439c
commit
386ae84941
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue