mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-27 04:01:56 +08:00
Compare commits
2 Commits
v3.6.6
...
dccde19433
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dccde19433 | ||
|
|
990f749912 |
@@ -70,7 +70,8 @@ public class JobInvokeUtil
|
||||
*/
|
||||
public static boolean isValidClassName(String invokeTarget)
|
||||
{
|
||||
return StringUtils.countMatches(invokeTarget, ".") > 1;
|
||||
String beanName = StringUtils.substringBefore(invokeTarget, "(");
|
||||
return Pattern.matches("(\\w+\\.){2,}\\w+", beanName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user