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