no message
This commit is contained in:
1 parent
6b95fffa70
commit
92e2652a69
2 files changed
+4
-3
No files matched your search
@@ -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);
|
||||
|
||||
@@ -142,12 +142,13 @@ final class HookController
|
||||
foreach ($aOrder as $k => $v) {
|
||||
$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['product_content'] = json_decode($v['product_content']);
|
||||
$aOrderNew[] = $v;
|
||||
}
|
||||
} else {
|
||||
$aOrderNew = ["not have id" => $iUserId];
|
||||
}
|
||||
|
||||
|
||||
$this->sendMessage(json_encode($aOrderNew, JSON_PRETTY_PRINT));
|
||||
|
||||
Http::response(200, 'ok');
|
||||
|
||||
Reference in new issue
Block a user