no message

This commit is contained in:
hellcat 2026-01-22 20:51:33 +08:00
parent 7deb1651b6
commit 9392185af7
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ public function receive(Request $oRequest)
} catch (Exception $e) {
$sLog = "【战损报告】" . $e->getMessage();
TeleSlave::warn()->enableSlaveQueue(false)->send($sLog);
TeleSlave::warn()->send($sLog);
return response()->json(['isDone' => false, 'error' => $e->getMessage()], 500);
}
}
@ -188,7 +188,7 @@ private function utilNotify(string $sFileName, string $sText)
// var_dump($sUrl);
// exit;
var_dump(TeleSlave::warn()->enableAsync(false)->setPhotoUrl($sUrl)->send($sText));
TeleSlave::warn()->setPhotoUrl($sUrl)->send($sText);
}
private function cmdOptArticle(): string

View File

@ -72,7 +72,7 @@ class Slave
public bool $enableDetail = true;
public bool $enableAsync = true;
public bool $enableAsync = false;
private bool $enableSend = true;