no message

This commit is contained in:
hellcat 2025-03-25 01:56:24 +08:00
parent 04712e40b3
commit b78c2effe3
2 changed files with 3 additions and 3 deletions

View File

@ -144,7 +144,7 @@ final class HookController
$aTicketContent = json_decode($aTicket['content'], true);
if (count($aTicketContent) <== 1) {
if (!is_array($aTicketContent[0])) {
$aTicketContent[] = $aTicketContent;
}

View File

@ -33,9 +33,9 @@ final class TgStep extends Model
public function find($iFromId, $iStep = false, $sCmd = false)
{
$oTgStep = (new TgStep())->where("from_id", $iFromId);
$oTgStep = TgStep::query();
// $oTgStep->where("from_id", $iFromId);
$oTgStep->where("from_id", $iFromId);
if ($iStep) {
$oTgStep->where("step", $iStep);