no message
This commit is contained in:
parent
6476d524df
commit
2784003494
@ -115,7 +115,7 @@ final class TelegramV2
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->bot->sendMessage($sendMessage);
|
return $this->bot->sendMessage($sendMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -59,7 +59,13 @@ class Ann extends Base {
|
|||||||
|
|
||||||
$oTelegramV2->setTo("tongzhiqun");
|
$oTelegramV2->setTo("tongzhiqun");
|
||||||
|
|
||||||
$oTelegramV2->send($oAnn->content, "str");
|
$r = $oTelegramV2->send($oAnn->content, "str");
|
||||||
|
|
||||||
|
if ($r) {
|
||||||
|
$oAnn->post = 1;
|
||||||
|
$oAnn->save();
|
||||||
|
return "ok,状态以更新";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user