no message
This commit is contained in:
parent
cb50d4cc8a
commit
b51c34494d
@ -78,9 +78,15 @@ final class Tk extends Base
|
|||||||
unset($row['datetime']);
|
unset($row['datetime']);
|
||||||
unset($row['status']);
|
unset($row['status']);
|
||||||
unset($row['type']);
|
unset($row['type']);
|
||||||
$row['content_'] = json_decode($row['content']);
|
$aContent = json_decode($row['content'], 1);
|
||||||
unset($row['content']);
|
unset($row['content']);
|
||||||
|
|
||||||
|
foreach ($aContent as &$row2) {
|
||||||
|
$row2['datetime'] = date("Y-m-d H:i:s", $row2['datetime']);
|
||||||
|
}
|
||||||
|
|
||||||
|
$row['content'] = $aContent;
|
||||||
|
|
||||||
$sMsg = json_encode($row, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
|
$sMsg = json_encode($row, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
|
||||||
|
|
||||||
$this->oTGHttp->sendToTG($sMsg);
|
$this->oTGHttp->sendToTG($sMsg);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user