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