Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
feo-jobs
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
探普后端
feo-jobs
Commits
41307ec7
Commit
41307ec7
authored
Aug 10, 2021
by
吴泽佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feign 修改
parent
47e3abf4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
FeignClientForWxCp.java
...a/com/tanpu/feo/feojob/feign/wxcp/FeignClientForWxCp.java
+1
-1
FeignClientForWxMp.java
...a/com/tanpu/feo/feojob/feign/wxmp/FeignClientForWxMp.java
+1
-1
No files found.
src/main/java/com/tanpu/feo/feojob/feign/wxcp/FeignClientForWxCp.java
View file @
41307ec7
...
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestBody;
...
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestBody;
*/
*/
//@FeignClient(value = "z-service-wxcp", url = "http://172.19.125.193:8193/z_wxcp")
//@FeignClient(value = "z-service-wxcp", url = "http://172.19.125.193:8193/z_wxcp")
//@FeignClient(value = "z-service-wxcp", url = "http://127.0.0.1:8193/z_wxcp")
//@FeignClient(value = "z-service-wxcp", url = "http://127.0.0.1:8193/z_wxcp")
@FeignClient
(
value
=
"z-service-wxcp"
,
fallbackFactory
=
FeignbackForWxMp
.
class
,
path
=
"/
z_wxcp
"
)
@FeignClient
(
value
=
"z-service-wxcp"
,
fallbackFactory
=
FeignbackForWxMp
.
class
,
path
=
"/
feo-jyzy-wxcp-svc
"
)
public
interface
FeignClientForWxCp
{
public
interface
FeignClientForWxCp
{
@PostMapping
(
value
=
"/wx/kf/sendMessage/{agentId}/{corpId}/{openId}"
,
consumes
=
MediaType
.
TEXT_PLAIN_VALUE
)
@PostMapping
(
value
=
"/wx/kf/sendMessage/{agentId}/{corpId}/{openId}"
,
consumes
=
MediaType
.
TEXT_PLAIN_VALUE
)
...
...
src/main/java/com/tanpu/feo/feojob/feign/wxmp/FeignClientForWxMp.java
View file @
41307ec7
...
@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestBody;
...
@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestBody;
*/
*/
//@FeignClient(value = "service-wxmp", url = "http://172.19.125.193:8179/wxmp")
//@FeignClient(value = "service-wxmp", url = "http://172.19.125.193:8179/wxmp")
//@FeignClient(value = "service-wxmp", url = "http://127.0.0.1:8179/wxmp")
//@FeignClient(value = "service-wxmp", url = "http://127.0.0.1:8179/wxmp")
@FeignClient
(
value
=
"service-wxmp"
,
fallbackFactory
=
FeignbackForWxMp
.
class
,
path
=
"/
wxmp
"
)
@FeignClient
(
value
=
"service-wxmp"
,
fallbackFactory
=
FeignbackForWxMp
.
class
,
path
=
"/
feo-wxmp-svc
"
)
public
interface
FeignClientForWxMp
{
public
interface
FeignClientForWxMp
{
@PostMapping
(
value
=
"/wx/kf/sendMessage/{appId}/{openId}"
,
consumes
=
MediaType
.
TEXT_PLAIN_VALUE
)
@PostMapping
(
value
=
"/wx/kf/sendMessage/{appId}/{openId}"
,
consumes
=
MediaType
.
TEXT_PLAIN_VALUE
)
...
...
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