Commit b60b0009 authored by liqin's avatar liqin 💬

bug fixed

parent f7932541
......@@ -98,7 +98,7 @@ public class SystemOperationLogService extends ServiceImpl<SysLogMapper, SysLog>
return resultMap;
}
String packages = point.getThis().getClass().getName();
if (packages.indexOf("$$EnhancerByCGLIB$$") > -1) { // 如果是CGLIB动态生成的类
if (packages.contains("$$EnhancerByCGLIB$$")) { // 如果是CGLIB动态生成的类
try {
packages = packages.substring(0, packages.indexOf("$$"));
} catch (Exception ex) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment