Code style
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package we.config;
|
package we.config;
|
||||||
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
@@ -38,6 +39,7 @@ import java.util.stream.Stream;
|
|||||||
/**
|
/**
|
||||||
* @author hongqiaowei
|
* @author hongqiaowei
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@RefreshScope
|
@RefreshScope
|
||||||
@Component
|
@Component
|
||||||
public class SystemConfig {
|
public class SystemConfig {
|
||||||
|
|||||||
@@ -134,6 +134,7 @@ public class WebFluxConfig {
|
|||||||
@Configuration
|
@Configuration
|
||||||
@EnableWebFlux
|
@EnableWebFlux
|
||||||
public static class FizzWebFluxConfigurer implements WebFluxConfigurer {
|
public static class FizzWebFluxConfigurer implements WebFluxConfigurer {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private WebFluxConfigProperties webFluxConfigProperties;
|
private WebFluxConfigProperties webFluxConfigProperties;
|
||||||
|
|
||||||
@@ -147,7 +148,6 @@ public class WebFluxConfig {
|
|||||||
configurer.defaultCodecs().multipartReader(multipartReader);
|
configurer.defaultCodecs().multipartReader(multipartReader);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
||||||
registry.addResourceHandler("/*.*")
|
registry.addResourceHandler("/*.*")
|
||||||
|
|||||||
Reference in New Issue
Block a user