You've already forked guangan
更多详情
This commit is contained in:
@ -96,7 +96,7 @@ class Ticket extends Auth
|
||||
{
|
||||
$id = $this->request->get('id');
|
||||
$ticket = TicketTicket::query()
|
||||
->with(['verifys', 'repairs', 'views'])->findOrEmpty($id);
|
||||
->with(['user_shares', 'inspection_shares', 'views', 'repairs', 'verifys', 'view_process', 'repair_process', 'verify_process'])->findOrEmpty($id);
|
||||
if ($ticket->isEmpty()) $this->error('工单不存在');
|
||||
$this->success('获取工单详情', $ticket);
|
||||
}
|
||||
|
Reference in New Issue
Block a user