no message
This commit is contained in:
parent
f982131eee
commit
553056369d
@ -7,15 +7,18 @@ class Test extends Base {
|
|||||||
|
|
||||||
public function cron($aParam)
|
public function cron($aParam)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (($aParam["aArg"][1] ?? false) == "?") {
|
||||||
|
return "#cron__{type:id,i_in10,rand}__{bSendTg:y,n-default}__{bPull:y,n-defulat}";
|
||||||
|
}
|
||||||
|
|
||||||
$sTimeType = $aParam["aOption"][1];
|
$sTimeType = $aParam["aOption"][1];
|
||||||
$sValue = $aParam["aArg"][1];
|
$sValue = $aParam["aArg"][1];
|
||||||
// $sIsText = $aParam["aOption"][2] ?? "yes";
|
// $sIsText = $aParam["aOption"][2] ?? "yes";
|
||||||
$sSendTg = $aParam["aOption"][2] ?? "n";
|
$sSendTg = $aParam["aOption"][2] ?? "n";
|
||||||
$sPull = $aParam["aOption"][3] ?? "n";
|
$sPull = $aParam["aOption"][3] ?? "n";
|
||||||
|
|
||||||
if ($sValue == "?") {
|
|
||||||
return "#cron__{type:id,i_in10,rand}__{bSendTg:y,n-default}__{bPull:y,n-defulat}";
|
|
||||||
}
|
|
||||||
|
|
||||||
// if ($sSendTg == "yes") {
|
// if ($sSendTg == "yes") {
|
||||||
// $bSendTg = true;
|
// $bSendTg = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user