@@ -90,6 +90,9 @@ public class DeviceUseRecords extends SuperMain {
@Schema(description = "时间")
private Long timestamp;
+ @Schema(description = "耗时,毫秒")
+ private Long useTime;
+
@Schema(description = "年份,如:2024")
private Integer year;
@@ -187,6 +187,7 @@ public class DevicePermissVerifyService {
}
+ deviceUserParam.setUseTime(stopWatch.getTotalTimeMillis());
log.info("权限验证:{}", stopWatch.prettyPrint());
if (!hasPermission) {
return ResultContent.buildFail(msg);