Commit bbb16d5f by huluobin

# 百伦api README.md 更新

parent e18bb746
......@@ -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。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment