Commit 091884c3 by chentian

imageapi基础配置

parent 48590596
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@ComponentScan(basePackages = {"com.founder"})
@MapperScan("com.founder.modules.ytlf.mapper")
public class ImageApiApplication {
public static void main(String[] args) {
SpringApplication.run(ImageApiApplication.class, args);
}
}
......@@ -11,7 +11,7 @@ spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
#配置mapper xml文件的路径
#mybatis-plus.mapper-locations=classpath:com/founder/modules/ytlf/mapper/xml/*.xml
mybatis-plus.mapper-locations=classpath:com/founder/modules/ytlf/mapper/xml/*.xml
# 设置日志级别
logging.level.root=INFO
......
......@@ -16,6 +16,30 @@
<module>peopleapi</module>
</modules>
<artifactId>serviceapi</artifactId>
<dependencies>
<dependency>
<groupId>com.founder</groupId>
<artifactId>service_base</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!--mybatis-plus-->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
</dependency>
<!--swagger-->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
</dependency>
<dependency>
<groupId>org.oracle</groupId>
<artifactId>ojdbc6</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
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