Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
2f6f416d
Commit
2f6f416d
authored
Oct 18, 2024
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交core的url改为配置
parent
05f538e2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
CoreFeignClient.java
...oin/amos/boot/module/jxiop/api/feign/CoreFeignClient.java
+1
-1
application.properties
...odule-jxiop-biz/src/main/resources/application.properties
+2
-0
CoreFeignClient.java
...oin/amos/boot/module/jxiop/biz/feign/CoreFeignClient.java
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/feign/CoreFeignClient.java
View file @
2f6f416d
...
...
@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import
java.util.List
;
//@FeignClient(name = "${mcb.warning.name:MCB-SERVER}", path = "warning", configuration = {FeignConfiguration.class})
@FeignClient
(
name
=
"mcb"
,
url
=
"
http://10.20.1.160:10005
"
,
path
=
"core"
,
configuration
=
{
@FeignClient
(
name
=
"mcb"
,
url
=
"
${core.feign.url:http://10.20.1.160:10005}
"
,
path
=
"core"
,
configuration
=
{
FeignConfiguration
.
class
})
public
interface
CoreFeignClient
{
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/resources/application.properties
View file @
2f6f416d
...
...
@@ -64,3 +64,5 @@ feign.client.config.default.connect-timeout=20000
feign.client.config.default.read-timeout
=
20000
mcb.warning.name
=
MCB-SERVER
core.feign.url
=
http://10.20.1.160:10005
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/feign/CoreFeignClient.java
View file @
2f6f416d
...
...
@@ -9,7 +9,7 @@ import java.util.List;
import
java.util.Map
;
//@FeignClient(name = "${mcb.warning.name:MCB-SERVER}", path = "warning", configuration = {FeignConfiguration.class})
@FeignClient
(
name
=
"mcb"
,
url
=
"
http://10.20.1.160:10005
"
,
path
=
"core"
,
configuration
=
{
@FeignClient
(
name
=
"mcb"
,
url
=
"
${core.feign.url:http://10.20.1.160:10005}
"
,
path
=
"core"
,
configuration
=
{
FeignConfiguration
.
class
})
public
interface
CoreFeignClient
{
...
...
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