no message
This commit is contained in:
parent
9bf6bbd787
commit
c260457b5b
@ -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,
|
||||
|
||||
@ -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]);
|
||||
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user