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
e40bed47
Commit
e40bed47
authored
Aug 24, 2021
by
钱坤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qrcodeurl统一从fatools获取
parent
8dbc47e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ShorterFeign.java
...java/com/tanpu/feo/feojob/feign/shorter/ShorterFeign.java
+2
-1
No files found.
src/main/java/com/tanpu/feo/feojob/feign/shorter/ShorterFeign.java
View file @
e40bed47
...
@@ -2,9 +2,10 @@ package com.tanpu.feo.feojob.feign.shorter;
...
@@ -2,9 +2,10 @@ package com.tanpu.feo.feojob.feign.shorter;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
@FeignClient
(
value
=
"shorturl"
,
url
=
"${tanpu.feo-shorter.svc:}"
,
path
=
"/"
)
@FeignClient
(
value
=
"shorturl"
,
url
=
"${tanpu.feo-shorter.svc:}"
,
path
=
"/"
)
public
interface
ShorterFeign
{
public
interface
ShorterFeign
{
@PostMapping
(
value
=
"/shorter/get"
)
@PostMapping
(
value
=
"/shorter/get"
)
ShorterResp
getShorter
(
String
url
);
ShorterResp
getShorter
(
@RequestParam
(
"url"
)
String
url
);
}
}
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