no message

This commit is contained in:
hellcat 2025-04-02 16:06:55 +08:00
parent 6b95fffa70
commit 92e2652a69
2 changed files with 4 additions and 3 deletions

View File

@ -35,7 +35,7 @@ $oHttp->aData = [
'type' => 'private' 'type' => 'private'
], ],
'date' => 1610000000, 'date' => 1610000000,
"text" => "\/orderFind 2", "text" => "\/orderFindByUser 2",
] ]
]; ];

View File

@ -131,7 +131,7 @@ final class HookController
} }
// 查找订单 // 查找订单
if (strpos($sText, '/orderFind') === 0 || strpos($sText, '\/orderFind') === 0) { if (strpos($sText, '/orderFindByUser') === 0 || strpos($sText, '\/orderFindByUser') === 0) {
list(, $iUserId) = explode(" ", $sText, 2); list(, $iUserId) = explode(" ", $sText, 2);
@ -142,6 +142,7 @@ final class HookController
foreach ($aOrder as $k => $v) { foreach ($aOrder as $k => $v) {
$v['create_time'] = date("Y-m-d H:i:m", $v['create_time']); $v['create_time'] = date("Y-m-d H:i:m", $v['create_time']);
$v['update_time'] = date("Y-m-d H:i:m", $v['update_time']); $v['update_time'] = date("Y-m-d H:i:m", $v['update_time']);
$v['product_content'] = json_decode($v['product_content']);
$aOrderNew[] = $v; $aOrderNew[] = $v;
} }
} else { } else {