Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
map-parent
Commits
091884c3
Commit
091884c3
authored
Mar 18, 2021
by
chentian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imageapi基础配置
parent
48590596
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
16 deletions
+27
-16
serviceapi/imageapi/src/main/java/ImageApiApplication.java
+0
-14
serviceapi/imageapi/src/main/resources/application.properties
+1
-1
serviceapi/pom.xml
+26
-1
No files found.
serviceapi/imageapi/src/main/java/ImageApiApplication.java
deleted
100644 → 0
View file @
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
);
}
}
serviceapi/imageapi/src/main/resources/application.properties
View file @
091884c3
...
@@ -11,7 +11,7 @@ spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
...
@@ -11,7 +11,7 @@ spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone
=
GMT+8
spring.jackson.time-zone
=
GMT+8
#配置mapper xml文件的路径
#配置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
logging.level.root
=
INFO
...
...
serviceapi/pom.xml
View file @
091884c3
...
@@ -16,6 +16,30 @@
...
@@ -16,6 +16,30 @@
<module>
peopleapi
</module>
<module>
peopleapi
</module>
</modules>
</modules>
<artifactId>
serviceapi
</artifactId>
<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>
</project>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment