You've already forked guangan
bug
This commit is contained in:
@ -67,8 +67,7 @@ class Ticket extends Auth
|
||||
{
|
||||
$id = $this->request->get('id');
|
||||
$ticket = TicketTicket::query()
|
||||
// ->where(['fz_user_id'=>$this->staff->id])
|
||||
->with(['verify', 'repair'])->findOrEmpty($id);
|
||||
->with(['verifys', 'repairs', 'views'])->findOrEmpty($id);
|
||||
if ($ticket->isEmpty()) $this->error('工单不存在');
|
||||
$this->success('获取工单详情', $ticket);
|
||||
}
|
||||
|
Reference in New Issue
Block a user