更改命名为驼峰

This commit is contained in:
wdtt 2023-02-26 19:20:51 +08:00
parent ab1299cbb2
commit 560cb1d95a

View File

@ -82,10 +82,10 @@ public class RateLimiterAspect {
context.setVariable(parameterNames[i],args[i]); context.setVariable(parameterNames[i],args[i]);
} }
//定义解析模版 //定义解析模版
TemplateParserContext parser_content = new TemplateParserContext(); TemplateParserContext parserContent = new TemplateParserContext();
//解析返回给key //解析返回给key
try { try {
key = parser.parseExpression(key,parser_content).getValue(context,String.class) + ""; key = parser.parseExpression(key,parserContent).getValue(context,String.class) + "";
}catch (Exception e){ }catch (Exception e){
throw new ServiceException("限流key解析异常!请联系管理员!"); throw new ServiceException("限流key解析异常!请联系管理员!");
} }