Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
tianjin-cement
Project
Project
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
竹天卫
tianjin-cement
Commits
68db5068
Commit
68db5068
authored
Nov 21, 2020
by
shulidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外部配置
parent
02b60fd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
0 deletions
+46
-0
application.yml
config/application.yml
+40
-0
pom.xml
pom.xml
+6
-0
No files found.
config/application.yml
0 → 100644
View file @
68db5068
server
:
port
:
7007
basename
:
sinoma_tcdri
spring
:
application
:
tianjin-cement
profiles
:
path
:
E:/workspace/tianjin-cement/config
active
:
dev
datasource
:
# 192.168.110.85 admin!@#123
url
:
jdbc:mysql://192.168.110.85:3306/${basename}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
# url: jdbc:mysql://47.93.148.213:3306/sinoma_tcdri?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
username
:
root
password
:
admin!@#123
driverClassName
:
com.mysql.cj.jdbc.Driver
hikari
:
minimum-idle
:
3
maximum-pool-size
:
10
max-lifetime
:
30000
#不能小于30秒,否则默认回到1800秒
connection-test-query
:
SELECT 1
redis
:
port
:
6379
host
:
192.168.110.85
# password: Wise_@123456
servlet
:
multipart
:
max-file-size
:
100MB
max-request-size
:
100MB
# 设置swagger用户名密码
swagger
:
basic
:
enable
:
false
username
:
admin
password
:
admin
mybatis-plus
:
# 启动时是否检查MyBatis XML文件是否存在
check-config-location
:
true
type-aliases-package
:
cn.wise.sc.cement.business.entity.**
mapper-locations
:
classpath:/cn/wise/sc/cement/business/mapper/xml/*Mapper.xml
pom.xml
View file @
68db5068
...
@@ -33,6 +33,12 @@
...
@@ -33,6 +33,12 @@
<artifactId>
spring-boot-starter-web
</artifactId>
<artifactId>
spring-boot-starter-web
</artifactId>
<version>
2.0.6.RELEASE
</version>
<version>
2.0.6.RELEASE
</version>
</dependency>
</dependency>
<!-- https://mvnrepository.com/artifact/com.artofsolving/jodconverter -->
<dependency>
<groupId>
com.artofsolving
</groupId>
<artifactId>
jodconverter
</artifactId>
<version>
2.2.1
</version>
</dependency>
<dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<groupId>
com.alibaba
</groupId>
<artifactId>
fastjson
</artifactId>
<artifactId>
fastjson
</artifactId>
...
...
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