Open Zhouchuanwen opened 3 years ago
类似 Spring EL 的方式:
ExpressionParser parser = new SpelExpressionParser(); Expression exp = parser.parseExpression("'Hello World'.concat('!')"); String message = (String) exp.getValue();
这个暂时不支持,之前没用到过这种方式。后面看一下
类似 Spring EL 的方式:
ExpressionParser parser = new SpelExpressionParser(); Expression exp = parser.parseExpression("'Hello World'.concat('!')"); String message = (String) exp.getValue();