no message

This commit is contained in:
hellcat 2025-04-18 19:36:32 +08:00
parent d4410a20d0
commit 5fc708b561
2 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ final class HookController
// 可以不返回里面直接send
if (isset($r)) {
if (empty($r)) { $r = '没坐'; }
if (empty($r)) { $r = 'hook的mod返回空'; }
// 返回可以是数组
if (is_array($r)) {
foreach ($r as $row) {

View File

@ -36,9 +36,9 @@ class CronController
$aGet = $_GET;
if (isset($aGet['is_test']) && $aGet['is_test'] == 1) {
if ($aGet["time_type"] == 'i') {
$i = $aGet['v'];
$i = (string) $aGet['v'];
} else if ($aGet["time_type"] == 'h') {
$h = $aGet['v'];
$h = (string) $aGet['v'];
}
}