Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app-service
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
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SuperHive
back-end
app-service
Commits
de2c9ba7
Commit
de2c9ba7
authored
Aug 07, 2020
by
lijd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改加载路径
parent
e6192c4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
AppApplication.java
src/main/java/com/esv/freight/app/AppApplication.java
+4
-1
bootstrap.yml
src/main/resources/bootstrap.yml
+5
-5
No files found.
src/main/java/com/esv/freight/app/AppApplication.java
View file @
de2c9ba7
...
@@ -18,7 +18,10 @@ import java.util.TimeZone;
...
@@ -18,7 +18,10 @@ import java.util.TimeZone;
* @createTime: 2020/04/07 15:17
* @createTime: 2020/04/07 15:17
* @version:1.0
* @version:1.0
*/
*/
@SpringBootApplication
@SpringBootApplication
(
scanBasePackages
=
{
"com.esv.freight.app.feign"
,
"com.esv.freight.app.common"
,
"com.esv.freight.app.config"
,
"com.esv.freight.app.module"
})
@EnableDiscoveryClient
@EnableDiscoveryClient
public
class
AppApplication
{
public
class
AppApplication
{
...
...
src/main/resources/bootstrap.yml
View file @
de2c9ba7
...
@@ -3,14 +3,14 @@ server:
...
@@ -3,14 +3,14 @@ server:
servlet
:
servlet
:
context-path
:
/app
context-path
:
/app
nacos
:
nacos
:
url
:
1
19.3.171.225
:8848
url
:
1
92.168.31.248
:8848
namespace
:
38512237-cfe2-44e5-a6ba-df156723d7b6
namespace
:
aad5aa26-5351-4e7a-a65e-ecb332f3c52c
group
:
DEFAULT_GROUP
group
:
DEFAULT_GROUP
spring
:
spring
:
application
:
application
:
name
:
freight-app-service
name
:
freight-app-service
profiles
:
profiles
:
active
:
de
mo
active
:
de
v
cloud
:
cloud
:
nacos
:
nacos
:
discovery
:
discovery
:
...
@@ -20,5 +20,5 @@ spring:
...
@@ -20,5 +20,5 @@ spring:
config
:
config
:
server-addr
:
${nacos.url}
server-addr
:
${nacos.url}
namespace
:
${nacos.namespace}
namespace
:
${nacos.namespace}
file-extension
:
yml
group
:
${nacos.group}
group
:
${nacos.group}
file-extension
:
yml
\ No newline at end of file
\ 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