no message
This commit is contained in:
parent
7deb1651b6
commit
9392185af7
@ -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
|
||||
|
||||
@ -72,7 +72,7 @@ class Slave
|
||||
|
||||
public bool $enableDetail = true;
|
||||
|
||||
public bool $enableAsync = true;
|
||||
public bool $enableAsync = false;
|
||||
|
||||
private bool $enableSend = true;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user