no message
This commit is contained in:
parent
d4410a20d0
commit
5fc708b561
@ -75,7 +75,7 @@ final class HookController
|
|||||||
|
|
||||||
// 可以不返回,里面直接send
|
// 可以不返回,里面直接send
|
||||||
if (isset($r)) {
|
if (isset($r)) {
|
||||||
if (empty($r)) { $r = '没坐'; }
|
if (empty($r)) { $r = 'hook的mod返回空'; }
|
||||||
// 返回可以是数组
|
// 返回可以是数组
|
||||||
if (is_array($r)) {
|
if (is_array($r)) {
|
||||||
foreach ($r as $row) {
|
foreach ($r as $row) {
|
||||||
|
|||||||
@ -36,9 +36,9 @@ class CronController
|
|||||||
$aGet = $_GET;
|
$aGet = $_GET;
|
||||||
if (isset($aGet['is_test']) && $aGet['is_test'] == 1) {
|
if (isset($aGet['is_test']) && $aGet['is_test'] == 1) {
|
||||||
if ($aGet["time_type"] == 'i') {
|
if ($aGet["time_type"] == 'i') {
|
||||||
$i = $aGet['v'];
|
$i = (string) $aGet['v'];
|
||||||
} else if ($aGet["time_type"] == 'h') {
|
} else if ($aGet["time_type"] == 'h') {
|
||||||
$h = $aGet['v'];
|
$h = (string) $aGet['v'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user