no message

This commit is contained in:
hellcat 2025-04-08 21:09:28 +08:00
parent 57fa365032
commit 853c54f7ce
2 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,7 @@ $oHttp->aData = [
'type' => 'private'
],
'date' => 1610000000,
"text" => "\/reportCoupon#333",
"text" => "\/reportCoupon",
]
];

View File

@ -323,7 +323,8 @@ final class HookController
// 确保 $iDay 是一个有效的数字
if (!is_numeric($iDay) || $iDay < 0) {
throw new Exception('无效的天数参数');
$this->sendMessage('无效的天数参数');
Http::response(200, '内部服务器错误');
}
$sStartTime = strtotime("-$iDay days");