所有可用配置见:https://www.cnblogs.com/woshishanshan/archive/2019/03/26/10599709.html
自定义示例:https://www.cnblogs.com/wsy0202/p/13032693.html
EXPR_COPY
groovyScript("def result=''; def params=\"${_1}\".replaceAll('[\\\\[|\\\\]|\\\\s]', '').split(',').toList(); for(i = 0; i < params.size(); i++) {result+= params[i]+': {}' ;if(i<params.size()-1){result+= ',' };}; return result", methodParameters())
EXPR
groovyScript("def result=''; def params=\"${_1}\".replaceAll('[\\\\[|\\\\]|\\\\s]', '').split(',').toList(); for(i = 0; i < params.size(); i++) {result+= params[i];if(i<params.size()-1){result+= ',' };}; return result", methodParameters())
|