Commit 8184b3fd by fsn

一些配置改动

parent 4c7f08a1
......@@ -31,7 +31,6 @@ public class OtherConfigs {
public EhCacheCacheManager cacheManager(CacheManager cacheManager) {
return new EhCacheCacheManager(cacheManager);
}
@Bean
public EhCacheManagerFactoryBean ehcache() {
EhCacheManagerFactoryBean ehCacheManagerFactoryBean = new EhCacheManagerFactoryBean();
......@@ -75,7 +74,6 @@ public class OtherConfigs {
public DruidStatInterceptor druidStatInterceptor() {
return new DruidStatInterceptor();
}
@Bean
public BeanTypeAutoProxyCreator beanTypeAutoProxyCreator() {
BeanTypeAutoProxyCreator beanTypeAutoProxyCreator = new BeanTypeAutoProxyCreator();
......
......@@ -152,7 +152,6 @@ public class ShiroConfig {
public DefaultAdvisorAutoProxyCreator defaultAdvisorAutoProxyCreator() {
return new DefaultAdvisorAutoProxyCreator();
}
@Bean
public AuthorizationAttributeSourceAdvisor authorizationAttributeSourceAdvisor(DefaultWebSecurityManager securityManager) {
AuthorizationAttributeSourceAdvisor authorizationAttributeSourceAdvisor =
......
......@@ -21,7 +21,7 @@ import java.util.Map;
* @author stylefeng
* @Date 2017/5/21 12:38
*/
public class MpGenerator {
public class MyBatisPlusGenerator {
public static void main(String[] args) {
AutoGenerator mpg = new AutoGenerator();
......
......@@ -4,20 +4,11 @@ server:
#spring
spring:
devtools:
restart:
enabled: false
# mysql datasource
datasource:
url: jdbc:mysql://127.0.0.1:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull
username: root
password: root
#web
mutipart:
location:
#mybatis
mybatis-plus:
mapper-locations: classpath*:com/stylefeng/guns/**/mapping/*.xml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment