Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
03350ab1
Commit
03350ab1
authored
Aug 10, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Feign 调用服务名称提到配置文件
parent
c92b32d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
EquipFeignClient.java
...n/amos/boot/module/common/api/feign/EquipFeignClient.java
+1
-1
IotFeignClient.java
...oin/amos/boot/module/common/api/feign/IotFeignClient.java
+1
-1
application.properties
...boot-system-jcs/src/main/resources/application.properties
+3
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/feign/EquipFeignClient.java
View file @
03350ab1
...
...
@@ -19,7 +19,7 @@ import java.util.Map;
*
* @author Dell
*/
@FeignClient
(
name
=
"
AMOS-EQUIPMANAGE
"
,
path
=
"equip"
,
configuration
=
{
MultipartSupportConfig
.
class
})
@FeignClient
(
name
=
"
${equip.fegin.name}
"
,
path
=
"equip"
,
configuration
=
{
MultipartSupportConfig
.
class
})
public
interface
EquipFeignClient
{
/**
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/feign/IotFeignClient.java
View file @
03350ab1
...
...
@@ -15,7 +15,7 @@ import java.util.Map;
*
* @author Dell
*/
@FeignClient
(
name
=
"AMOS-API-IOT
"
,
path
=
"iot"
,
configuration
=
{
MultipartSupportConfig
.
class
})
@FeignClient
(
name
=
"${iot.fegin.name}
"
,
path
=
"iot"
,
configuration
=
{
MultipartSupportConfig
.
class
})
public
interface
IotFeignClient
{
...
...
amos-boot-system-jcs/src/main/resources/application.properties
View file @
03350ab1
...
...
@@ -60,4 +60,6 @@ mqtt.topic.command.power.deployment=power
security.systemctl.name
=
AMOS-API-SYSTEMCTL
iot.fegin.name
=
AMOS-API-IOT
equip.fegin.name
=
AMOS-EQUIPMANAGE
\ 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