Former-commit-id: b41ca40f6a1bd60ffba8074f7398323562b708de
master
wangbing 5 years ago
parent ce38ef58f6
commit e18bed1d9f

@ -7,9 +7,7 @@ import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.HttpMessageConverter; import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.util.AntPathMatcher;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.PathMatchConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import ${basePackage}.frame.utils.LogUtil; import ${basePackage}.frame.utils.LogUtil;
@ -26,18 +24,6 @@ public class WebMvcConfig implements WebMvcConfigurer {
@Value("${r'${spring.mvc.static-path-pattern}'}") @Value("${r'${spring.mvc.static-path-pattern}'}")
private String[] staticPath; private String[] staticPath;
/**
*
*
* @param configurer
*/
@Override
public void configurePathMatch(PathMatchConfigurer configurer) {
AntPathMatcher matcher = new AntPathMatcher();
matcher.setCaseSensitive(false);
configurer.setPathMatcher(matcher);
}
/** /**
* *
* *

@ -118,7 +118,7 @@
this.isSubmit = true; this.isSubmit = true;
new Ajax() new Ajax()
.module("system") .module("system")
.target("user") .target("User")
.method("login") .method("login")
.data(this.form) .data(this.form)
.post(function (response) { .post(function (response) {

Loading…
Cancel
Save

Powered by TurnKey Linux.