解决编码规则无法直接解析参数的问题

This commit is contained in:
weizhiqiang 2022-10-10 23:26:18 +08:00
parent d12d04f03b
commit 76dd0ddcc3

View file

@ -157,6 +157,8 @@ public class CodePattern {
if ("map".equalsIgnoreCase(type)) {
if (obj.getJSONObject("content").containsKey(value)) {
return obj.getJSONObject("content").getStr(value);
} else {
return value;
}
} else {
return FeatureScriptUtil.invokeScript(obj.getStr("content"), key, value);
@ -164,7 +166,6 @@ public class CodePattern {
} else {
return value;
}
return "";
}
/**