no message
This commit is contained in:
parent
e8530803d1
commit
7ee6c7c885
@ -23,8 +23,8 @@ final class HookController
|
|||||||
|
|
||||||
$sUpdate = file_get_contents("php://input");
|
$sUpdate = file_get_contents("php://input");
|
||||||
$aUpdate = json_decode($sUpdate, true);
|
$aUpdate = json_decode($sUpdate, true);
|
||||||
$sText = $aUpdate["message"]["text"] ?? "没有text";
|
$aUpdate["message"]["text"] = $aUpdate["message"]["text"] ?? "没有text";
|
||||||
if (!str_starts_with($sText, '/')) {
|
if (!str_starts_with($aUpdate["message"]["text"], '/')) {
|
||||||
// $this->sCustomCmd = "article";
|
// $this->sCustomCmd = "article";
|
||||||
// $this->sCustomFunc = "cache";
|
// $this->sCustomFunc = "cache";
|
||||||
// $this->aCustomOption[1] = "ffq";
|
// $this->aCustomOption[1] = "ffq";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user