no message

This commit is contained in:
hellcat committed 2025-04-01 20:39:16 +08:00
1 parent c9907ceac1
commit 9f78265046
2 files changed
+32 -10

No files matched your search

+2 -9
View File
@@ -100,16 +100,9 @@ final class HookController
}
// 查找用户
if (strpos($sText, '/userFind') === 0) {
if (strpos($sText, '/userFind') === 0 || strpos($sText, '\/userFind') === 0) {
// Ticket::where("id", $iTicketId)->first()->toArray();
// $iTicketId = $this->trimText($sText, '/ticketFind');
//
// $aTicket = Ticket::where("id", $iTicketId)->first()->toArray();
$iUserId = (int) $this->trimText($sText, '/userFind');
list(, $iUserId) = explode(" ", $sText, 2);
$aUser = User::find($iUserId)->toArray();