no message
This commit is contained in:
parent
7b807d9cb8
commit
eec5745888
@ -10,7 +10,7 @@ namespace App\Http\Controllers;
|
||||
//use App\Services\TomTool\Http;
|
||||
use App\Models\Book as ModelBook;
|
||||
use App\Models\BookOption as ModelBookOption;
|
||||
use App\Services\TG\Http as TGHttp;
|
||||
use App\Services\Tg\Http as TGHttp;
|
||||
|
||||
class CronController
|
||||
{
|
||||
|
||||
@ -40,7 +40,7 @@ final class CacheTg
|
||||
return $oResult->fail("更新cacheTime失败");
|
||||
}
|
||||
|
||||
return $r;
|
||||
return $sGroupCode."写入一条缓存";
|
||||
}
|
||||
|
||||
public function saveToSchema(): Flow
|
||||
|
||||
@ -17,7 +17,7 @@ class Cron extends Base {
|
||||
public function test($aParam)
|
||||
{
|
||||
$sType = $aParam["aOption"][1] ?? "i";
|
||||
$sValue = $aParam["aArg"][1] ?? 3;
|
||||
$sValue = $aParam["aArg"][1] ?? "03";
|
||||
|
||||
if (!$sType) {
|
||||
return "需要his之一";
|
||||
@ -33,9 +33,9 @@ class Cron extends Base {
|
||||
|
||||
$oServicesCron = new ServicesCron();
|
||||
|
||||
$oServicesCron->setTestH(0);
|
||||
$oServicesCron->setTestI(0);
|
||||
$oServicesCron->setTestS(0);
|
||||
$oServicesCron->setTestH('00');
|
||||
$oServicesCron->setTestI('00');
|
||||
$oServicesCron->setTestS('00');
|
||||
|
||||
if ($sType == "h") {
|
||||
$oServicesCron->setTestH($sValue);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user