Commit d4b2a32e authored by shiyu's avatar shiyu

xml

parent 3fffc5f0
...@@ -3,6 +3,7 @@ package com.wwdz.ch.admin; ...@@ -3,6 +3,7 @@ package com.wwdz.ch.admin;
import org.mybatis.spring.annotation.MapperScan; import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.transaction.annotation.EnableTransactionManagement;
...@@ -13,7 +14,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; ...@@ -13,7 +14,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
* @QQ:1197673878 * @QQ:1197673878
*/ */
@SpringBootApplication(scanBasePackages = { "com.wwdz.ch.db", "com.wwdz.ch.core", @SpringBootApplication(scanBasePackages = { "com.wwdz.ch.db", "com.wwdz.ch.core",
"com.wwdz.ch.admin" }) "com.wwdz.ch.admin" }, exclude = {DataSourceAutoConfiguration.class})
@MapperScan({ "com.wwdz.ch.db.dao", "com.wwdz.ch.db.dao.ex" }) @MapperScan({ "com.wwdz.ch.db.dao", "com.wwdz.ch.db.dao.ex" })
@EnableTransactionManagement @EnableTransactionManagement
@EnableScheduling @EnableScheduling
......
...@@ -17,9 +17,11 @@ server: ...@@ -17,9 +17,11 @@ server:
logging: logging:
level: level:
root: ERROR root: INFO
org.springframework: ERROR org.springframework: INFO
org.mybatis: ERROR org.mybatis: INFO
com.wwdz.ch.wx: DEBUG com.wwdz.ch.wx: DEBUG
com.wwdz.ch: INFO com.wwdz.ch: INFO
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