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