Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-api
Overview
Overview
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
huluobin
bailuntec-api
Commits
bbb16d5f
Commit
bbb16d5f
authored
Jan 14, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 百伦api README.md 更新
parent
e18bb746
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
bbb16d5f
...
...
@@ -96,6 +96,7 @@ class PamsApiTest {
#### 熔断
-
创建熔断类继承feign接口实现熔断逻辑
-
熔断配置 @FeignClient fallback = 熔断类
```
java
@FeignClient
(
name
=
"sso"
,
url
=
"http://sso.bailuntec.com/"
,
fallback
=
SsoApi
.
SsoApiFallback
.
class
)
public
interface
SsoApi
{
...
...
@@ -130,9 +131,8 @@ public interface SsoApi {
}
}
}
```
```
#### 命名规范
-
入参定义:方法名+Req 。
-
出参定义:方法名+Resp。
...
...
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