fix(Mock测试): 修复Mock测试自定义脚本get请求下返回路径只有后缀的问题
修复Mock测试自定义脚本get请求下返回路径只有后缀的问题
This commit is contained in:
parent
ac7aab1d23
commit
1380fce9b1
|
@ -1198,7 +1198,7 @@ public class MockConfigService {
|
|||
request, HttpServletResponse response) {
|
||||
String returnStr = "";
|
||||
boolean isMatch = false;
|
||||
String url = request.getRequestURI();
|
||||
String url = request.getRequestURL().toString();
|
||||
List<ApiDefinitionWithBLOBs> aualifiedApiList = new ArrayList<>();
|
||||
if (project != null) {
|
||||
String urlSuffix = this.getUrlSuffix(project.getSystemId(), request);
|
||||
|
|
Loading…
Reference in New Issue