From 4685cdcd3c7ec27ca4f0ebede572ef4e98ab108f Mon Sep 17 00:00:00 2001 From: kuaifan Date: Tue, 22 Oct 2024 14:51:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AD=BE=E5=88=B0=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/UserBot.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Models/UserBot.php b/app/Models/UserBot.php index 9e94e605b..fd1afefd0 100644 --- a/app/Models/UserBot.php +++ b/app/Models/UserBot.php @@ -291,11 +291,13 @@ class UserBot extends AbstractModel $hi = date("H:i"); $remark = $checkin['remark'] ? " ({$checkin['remark']})": ""; $subcontent = $getJokeSoup($type); + $title = "{$typeContent}打卡成功,打卡时间: {$hi}{$remark}"; WebSocketDialogMsg::sendMsg(null, $dialog->id, 'template', [ 'type' => 'content', + 'title' => $title, 'content' => [ [ - 'content' => "{$typeContent}打卡成功,打卡时间: {$hi}{$remark}" + 'content' => $title ], [ 'content' => $subcontent, 'language' => false,