no message
This commit is contained in:
parent
e5adf66faa
commit
aac115feaf
@ -48,6 +48,16 @@ exit;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$url = 'https://fuc.loc/api/tg/hook';
|
||||
$url = 'https://fuc.loc/test3';
|
||||
$data = [
|
||||
|
||||
@ -101,8 +101,15 @@ final class HookController
|
||||
|
||||
// 查找用户
|
||||
if (strpos($sText, '/userFind') === 0) {
|
||||
|
||||
// Ticket::where("id", $iTicketId)->first()->toArray();
|
||||
|
||||
// $iTicketId = $this->trimText($sText, '/ticketFind');
|
||||
//
|
||||
// $aTicket = Ticket::where("id", $iTicketId)->first()->toArray();
|
||||
|
||||
|
||||
$iUserId = $this->trimText($sText, '/userFind');
|
||||
$iUserId = (int) $this->trimText($sText, '/userFind');
|
||||
|
||||
$aUser = User::find($iUserId)->toArray();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user