perf: 优化显示效果

This commit is contained in:
kuaifan
2024-10-22 11:27:24 +08:00
parent e520cd9020
commit e639cfbc2f
27 changed files with 207 additions and 122 deletions
+2 -2
View File
@@ -247,7 +247,7 @@ class UserBot extends AbstractModel
'remark' => '考勤机',
];
}
}
}
if ($array) {
$record = UserCheckinRecord::where($array)->first();
if (empty($record)) {
@@ -299,7 +299,7 @@ class UserBot extends AbstractModel
], [
'content' => $subcontent,
'language' => false,
'style' => 'padding-top:4px;opacity:0.4',
'style' => 'padding-top:4px;opacity:0.6',
]
],
], $botUser->userid, false, false, $type != "up");