Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
maven-project-demo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
计万成
maven-project-demo
Commits
bc58c605
Commit
bc58c605
authored
Oct 09, 2020
by
jwc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置修改
parent
98d386f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
+23
-5
pom.xml
pom.xml
+20
-2
src/main/resources/application-publish.yml
src/main/resources/application-publish.yml
+3
-3
No files found.
pom.xml
View file @
bc58c605
...
@@ -68,11 +68,29 @@
...
@@ -68,11 +68,29 @@
<artifactId>
springfox-swagger-ui
</artifactId>
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
2.9.2
</version>
<version>
2.9.2
</version>
</dependency>
</dependency>
<!--mysql数据库驱动-->
<!-- <!–mysql数据库驱动–>-->
<!-- <dependency>-->
<!-- <groupId>mysql</groupId>-->
<!-- <artifactId>mysql-connector-java</artifactId>-->
<!-- <scope>runtime</scope>-->
<!-- </dependency>-->
<!-- 添加JDBC依赖 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-jdbc
</artifactId>
</dependency>
<!-- mysql 数据库驱动. -->
<dependency>
<dependency>
<groupId>
mysql
</groupId>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<artifactId>
mysql-connector-java
</artifactId>
<scope>
runtime
</scope>
</dependency>
<!--第三方数据依赖 druid依赖-->
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid
</artifactId>
<version>
1.1.20
</version>
</dependency>
</dependency>
<!--mybatis-->
<!--mybatis-->
<dependency>
<dependency>
...
...
src/main/resources/application-publish.yml
View file @
bc58c605
spring
:
spring
:
datasource
:
datasource
:
url
:
jdbc:mysql://
39.170.1.99:3306/agent
?characterEncoding=utf-8&useLocalSessionState=true&autoReconnect=true
url
:
jdbc:mysql://
rm-2zecs6a90dxwn8m40.mysql.rds.aliyuncs.com/hnl_financing
?characterEncoding=utf-8&useLocalSessionState=true&autoReconnect=true
username
:
agent
username
:
db_app
password
:
"
qMyWRrnPO@hcPlp@"
password
:
dBaPP#0723
driver-class-name
:
com.mysql.jdbc.Driver
driver-class-name
:
com.mysql.jdbc.Driver
\ 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