代码拉取完成,页面将自动刷新
RpcProcessor的findMethodByUrl方法里面的这段代码,如果params == null
并且url.length() > urlPathMatched.length()
时会把整个url认作路径参数吧
//Body parameters goes first, only if body has no parameters, check url part
if (params == null) {
String subUrl = url;
if (url.length() > urlPathMatched.length()) {
subUrl = url.substring(urlPathMatched.length());
}
UrlInfo info = HttpKit.parseUrl(subUrl);
List<Object> paramList = new ArrayList<>(info.pathList);
if (!info.queryParamMap.isEmpty()) {
target.queryMap = new HashMap<>(info.queryParamMap);
}
params = paramList.toArray();
}