no message

This commit is contained in:
hellcat 2025-04-03 18:57:45 +08:00
parent 55a010efb5
commit 33c62b146d
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ $oHttp->aData = [
'type' => 'private'
],
'date' => 1610000000,
"text" => "\/zhuanfaReset-youshi 2025-02-02",
"text" => "\/duckList",
]
];

View File

@ -480,7 +480,7 @@ final class HookController
// /duckList
if (strpos($sText, '/duckList') === 0 || strpos($sText, '\/duckList') === 0) {
$aDuckList = Ducks::orderBy('name')->get()->toArray();
$aDuckList = Ducks::orderBy('code')->get()->toArray();
$aMsgData = [];
foreach ($aDuckList as $k => $v) {
@ -500,7 +500,7 @@ final class HookController
// /zhuanfaList
if (strpos($sText, '/zhuanfaList') === 0 || strpos($sText, '\/zhuanfaList') === 0) {
$aDuckList = Ducks::orderBy('name')->get()->toArray();
$aDuckList = Ducks::orderBy('code')->get()->toArray();
$aMsgData = [];
foreach ($aZhuanfaList as $k => $v) {