no message
This commit is contained in:
parent
57fa365032
commit
853c54f7ce
@ -35,7 +35,7 @@ $oHttp->aData = [
|
||||
'type' => 'private'
|
||||
],
|
||||
'date' => 1610000000,
|
||||
"text" => "\/reportCoupon#333",
|
||||
"text" => "\/reportCoupon",
|
||||
]
|
||||
];
|
||||
|
||||
|
||||
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user