no message

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

No files matched your search

+1 -1
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;
}
+2 -2
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);