no message
This commit is contained in:
1 parent
c9907ceac1
commit
9f78265046
2 files changed
+32
-10
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user