1. 升级springboot版本至2.2.1
2. 修改swagger-bootstrap-ui部分代码,使其支持不同域名间调试
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.hccake.ballcat.admin;
|
||||
|
||||
import com.hccake.ballcat.commom.log.access.annotation.EnableAccessLog;
|
||||
import com.hccake.ballcat.common.swagger.annotation.EnableSwagger2Aggregator;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.web.servlet.ServletComponentScan;
|
||||
@@ -9,7 +10,7 @@ import org.springframework.boot.web.servlet.ServletComponentScan;
|
||||
* @author Hccake
|
||||
*/
|
||||
/*@EnableXxlJob*/
|
||||
/*@EnableSwagger2Aggregator*/
|
||||
@EnableSwagger2Aggregator
|
||||
@EnableAccessLog
|
||||
@ServletComponentScan("com.hccake.ballcat.admin.oauth.filter")
|
||||
@SpringBootApplication
|
||||
|
||||
@@ -55,6 +55,7 @@ public class CustomResourceServerConfigurer extends ResourceServerConfigurerAdap
|
||||
"/swagger-resources/**",
|
||||
"/swagger-ui.html**",
|
||||
"/webjars/**",
|
||||
"/bycdao-ui/**",
|
||||
"favicon.ico").permitAll()
|
||||
.anyRequest().authenticated()
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user