Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
df5c37f7
Commit
df5c37f7
authored
May 19, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
98fbe792
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
pom.xml
pom.xml
+1
-4
application.yml
yifu-auth/src/main/resources/application.yml
+0
-2
No files found.
pom.xml
View file @
df5c37f7
...
...
@@ -255,10 +255,7 @@
</profile>
<profile>
<id>
test
</id>
<activation>
<!-- 默认环境 -->
<activeByDefault>
true
</activeByDefault>
</activation>
<properties>
<!-- 环境标识,需要与配置文件的名称相对应 -->
<profiles.active>
test
</profiles.active>
...
...
yifu-auth/src/main/resources/application.yml
View file @
df5c37f7
...
...
@@ -11,8 +11,6 @@ spring:
config
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
config
:
activate
:
on-profile
:
test
import
:
-
nacos:application-@profiles.active@.yml
-
nacos:${spring.application.name}-@profiles.active@.yml
\ 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