说明:1、优化前端css

2、后端api预警日志优化
This commit is contained in:
xjs 2022-01-05 14:26:13 +08:00
parent 9a30b648b2
commit 9f423749d4
4 changed files with 5 additions and 5 deletions

View File

@ -514,7 +514,7 @@ export default {
} }
}; };
</script> </script>
<style> <style scoped>
.div1 { .div1 {
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
height: 180px; height: 180px;

View File

@ -101,11 +101,11 @@ export default {
this.serviceMonitorInfo=res.data this.serviceMonitorInfo=res.data
}) })
}, },
} },
}; };
</script> </script>
<style> <style scoped>
.el-row { .el-row {
margin: 100px; margin: 100px;
padding: 0 20px; padding: 0 20px;

View File

@ -154,7 +154,7 @@ export default {
}; };
</script> </script>
<style> <style scoped>
.bg-purple { .bg-purple {
box-shadow: 0 0 9px 3px #999; box-shadow: 0 0 9px 3px #999;
} }

View File

@ -159,7 +159,7 @@ public class ApiLogAspect {
//当前时间和最后一次修改时间间隔天数超过1 就清零 //当前时间和最后一次修改时间间隔天数超过1 就清零
long compareTime = DateUtil.between(date, new Date(), DateUnit.DAY); long compareTime = DateUtil.between(date, new Date(), DateUnit.DAY);
if (compareTime > 0) { if (compareTime > 0) {
haveApiRecord.setDayCount(0L); haveApiRecord.setDayCount(1L);
} }
//置为空让mp自动填充 //置为空让mp自动填充
haveApiRecord.setUpdateTime(null); haveApiRecord.setUpdateTime(null);