You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SOP/doc/docs/files/90100_常见问题.md

31 lines
625 B

6 years ago
# 常见问题
## Socket error occurred: `localhost/0:0:0:0:0:0:0:1:2181`: Connection refused
6 years ago
检查本地zookeeper有没启动,如果zookeeper在其他机器上,修改application-dev.yml
```yaml
cloud:
zookeeper:
connect-string: ip:2181
```
6 years ago
## 如何关闭签名验证
- 针对某一个接口关闭签名验证
`@ApiMapping(value = "alipay.story.get", ignoreValidate = true)`
- 针对所有接口关闭签名验证
```java
@Configuration
public class ZuulConfig extends AlipayZuulConfiguration {
static {
...
ApiConfig.getInstance().setIgnoreValidate(true);
...
}
}
```