fix(Mock测试): 修复Mock测试自定义脚本get请求下返回路径只有后缀的问题

修复Mock测试自定义脚本get请求下返回路径只有后缀的问题
This commit is contained in:
song-tianyang 2021-11-08 11:28:07 +08:00 committed by song-tianyang
parent ac7aab1d23
commit 1380fce9b1
1 changed files with 1 additions and 1 deletions

View File

@ -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);