mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
2614ae7b33
commit
31f69782c1
@ -4,6 +4,7 @@ namespace App\Http\Controllers\Admin;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\User;
|
||||
use App\Models\Ticket;
|
||||
use App\Models\TicketMessage;
|
||||
use Illuminate\Support\Facades\Redis;
|
||||
@ -25,6 +26,7 @@ class TicketController extends Controller
|
||||
$ticket['message'][$i]['is_me'] = false;
|
||||
}
|
||||
}
|
||||
$ticket['user'] = User::find($ticket->user_id);
|
||||
return response([
|
||||
'data' => $ticket
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user