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
7b8ee2e9
Commit
7b8ee2e9
authored
Mar 19, 2021
by
竹天卫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
启动profile修复
parent
b5446952
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
pom.xml
cement-business/pom.xml
+3
-0
application-prod.yml
cement-business/src/main/resources/application-prod.yml
+1
-1
No files found.
cement-business/pom.xml
View file @
7b8ee2e9
...
...
@@ -214,6 +214,9 @@
<properties>
<env>
prod
</env>
</properties>
<!-- <activation>
<activeByDefault>true</activeByDefault><!– 默认激活该profile节点–>
</activation>-->
</profile>
</profiles>
<build>
...
...
cement-business/src/main/resources/application-prod.yml
View file @
7b8ee2e9
...
...
@@ -2,7 +2,7 @@
spring
:
application
:
tianjin-cement
profiles
:
active
:
dev
active
:
prod
datasource
:
url
:
jdbc:mysql://47.93.148.213:3306/sinoma_tcdri?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
username
:
root
...
...
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