diff --git a/plugs/think-plugs-ticket/src/controller/Ticket.php b/plugs/think-plugs-ticket/src/controller/Ticket.php index 0cc4dc9..99ebc45 100644 --- a/plugs/think-plugs-ticket/src/controller/Ticket.php +++ b/plugs/think-plugs-ticket/src/controller/Ticket.php @@ -141,7 +141,7 @@ class Ticket extends Controller 'id.require' => '请指定工单ID!', 'type.require' => '请指定分配类型!', 'dept_id.require' => '请指定处理部门!', - 'user_id.require' => '请指定负责人员!', + 'user_id.default' => '0', ]); $ticket = TicketTicket::mk()->where('id', '=', $data['id'])->findOrEmpty(); if ($ticket->isEmpty()) $this->error('工单不存在!');