mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
fix: 签到信息预览错误
This commit is contained in:
parent
f792b3d983
commit
4685cdcd3c
@ -291,11 +291,13 @@ class UserBot extends AbstractModel
|
|||||||
$hi = date("H:i");
|
$hi = date("H:i");
|
||||||
$remark = $checkin['remark'] ? " ({$checkin['remark']})": "";
|
$remark = $checkin['remark'] ? " ({$checkin['remark']})": "";
|
||||||
$subcontent = $getJokeSoup($type);
|
$subcontent = $getJokeSoup($type);
|
||||||
|
$title = "{$typeContent}打卡成功,打卡时间: {$hi}{$remark}";
|
||||||
WebSocketDialogMsg::sendMsg(null, $dialog->id, 'template', [
|
WebSocketDialogMsg::sendMsg(null, $dialog->id, 'template', [
|
||||||
'type' => 'content',
|
'type' => 'content',
|
||||||
|
'title' => $title,
|
||||||
'content' => [
|
'content' => [
|
||||||
[
|
[
|
||||||
'content' => "{$typeContent}打卡成功,打卡时间: {$hi}{$remark}"
|
'content' => $title
|
||||||
], [
|
], [
|
||||||
'content' => $subcontent,
|
'content' => $subcontent,
|
||||||
'language' => false,
|
'language' => false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user