统一转发接口,如果api地址内包含 http 或者 https 直接使用api完整地址,否则使用 应用接口地址 +api地址
This commit is contained in:
parent
8b78ebd555
commit
7b1a18747c
|
@ -1771,7 +1771,9 @@ public class SysApplicationServiceImpl extends BaseService<SysApplicationEntity,
|
|||
String bodys = sysExtensionApiEntity.getBodys();
|
||||
//设置参数获取参数
|
||||
StringBuffer url = new StringBuffer();
|
||||
url.append(receiveApp.getInterfaceAddress());
|
||||
if(!receiveApi.getDestinationAddress().toLowerCase().startsWith("http")){
|
||||
url.append(receiveApp.getInterfaceAddress());
|
||||
}
|
||||
url.append(receiveApi.getDestinationAddress());
|
||||
if (querys != null) {
|
||||
url.append("?");
|
||||
|
|
Loading…
Reference in New Issue