mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-21 10:35:57 +08:00
更改命名为驼峰
This commit is contained in:
parent
ab1299cbb2
commit
560cb1d95a
@ -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解析异常!请联系管理员!");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user