mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-27 06:49:37 +08:00
update 优化 编译警告问题 替换过期方法与类
This commit is contained in:
@@ -113,7 +113,7 @@ public class LogAspect {
|
||||
// 设置消耗时间
|
||||
StopWatch stopWatch = KEY_CACHE.get();
|
||||
stopWatch.stop();
|
||||
operLog.setCostTime(stopWatch.getTime());
|
||||
operLog.setCostTime(stopWatch.getDuration().toMillis());
|
||||
// 发布事件保存数据库
|
||||
SpringUtils.context().publishEvent(operLog);
|
||||
} catch (Exception exp) {
|
||||
|
||||
Reference in New Issue
Block a user