no message

This commit is contained in:
hellcat 2025-04-26 19:04:58 +08:00
parent d8df166f55
commit 5d9e2f3053
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ final class Cmd
'用户报表date' => 'user#report__date__2025-01-01',
'用户报表date到date' => '#',
'用户查找' => 'user#find 1',
'用户limit' => 'user#limit 默认5',
'订单从优惠码分组默认0=当天' => 'order#groupBySaleCode 3',
'访客统计' => 'visitor#all',
'优惠码' => 'list,find byid bycode,like,set date#totime,del,clone'

View File

@ -44,7 +44,7 @@ final class User extends Base
$aUser = ModelUser::where("class", '>', 0)->orderBy("id", "desc")->limit($iLimit)->get()->toArray();
foreach ($aUser as $row) {
$sMsg = json_encode($row, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
$sMsg = json_encode($this->format($row), JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
$this->oTGHttp->sendToTG($sMsg);
}