1. 升级springboot版本至2.2.1

2. 修改swagger-bootstrap-ui部分代码,使其支持不同域名间调试
This commit is contained in:
b2baccline
2019-11-18 16:23:37 +08:00
parent 7b7811a4f2
commit fbfb604b5f
9 changed files with 7358 additions and 12 deletions

View File

@@ -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

View File

@@ -55,6 +55,7 @@ public class CustomResourceServerConfigurer extends ResourceServerConfigurerAdap
"/swagger-resources/**",
"/swagger-ui.html**",
"/webjars/**",
"/bycdao-ui/**",
"favicon.ico").permitAll()
.anyRequest().authenticated()