no message

This commit is contained in:
hellcat 2025-04-19 18:52:15 +08:00
parent 9bf6bbd787
commit c260457b5b
4 changed files with 7 additions and 1 deletions

View File

@ -65,6 +65,7 @@ $oHttp->aData['message']['text'] = '\/user#find 1';
$oHttp->aData['message']['text'] = '\/cmd#list';
$oHttp->aData['message']['text'] = '\/visitor#all';
$oHttp->aData['message']['text'] = '\/user#report__day';
//{
// "update_id": 761180998,

View File

@ -66,6 +66,8 @@ final class HookController
// $sText = "//\\\//Article#Del 9";
// $sText = "/Article#Set__1__user_name xxx";
$aArg = [];
$aOption = [];
@$aArg = explode(" ", $sText);
@$aOption = explode("__", $aArg[0]);

View File

@ -31,7 +31,7 @@ final class Cmd
'机器add' => 'duck#add hk01',
'用户报表day' => 'user#report__day__3',
'用户报表date' => 'user#report__date__2025-01-01',
'用户报表date到date' => 'user#report__date__2025-01-01__2026-01-01',
'用户报表date到date' => '#',
'用户查找' => 'user#find 1',
'订单从优惠码分组默认0=当天' => 'order#groupBySaleCode 3',
'访客统计' => 'visitor#all'

View File

@ -12,6 +12,9 @@ final class ReportUser
public function ByDay($iDay)
{
if (!$iDay) {
$iDay = 0;
}
if ($iDay === 0) {
$sDateStart = date("Y-m-d", strtotime("-0 day"));