mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-12 07:02:14 +08:00
1.12.0
This commit is contained in:
@@ -86,7 +86,7 @@ public class DocManagerImpl implements DocManager {
|
||||
|
||||
protected void loadDocInfo(ServiceInstance serviceInstance) {
|
||||
String query = this.buildQuery();
|
||||
String url = "http://" + serviceInstance.getIpPort() + "/v2/api-docs" + query;
|
||||
String url = "http://" + serviceInstance.getIp() + ":" + serviceInstance.getPort() + "/v2/api-docs" + query;
|
||||
try {
|
||||
log.info("读取swagger文档,url:{}", url);
|
||||
ResponseEntity<String> entity = restTemplate.getForEntity(url, String.class);
|
||||
|
Reference in New Issue
Block a user