From 6b01da68ddbf7e86861abdfbce5ebe0084d7cac5 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Tue, 11 Mar 2025 21:21:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E9=83=A8=E5=B7=A5=E5=8D=95user=5Fid?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugs/think-plugs-ticket/src/controller/Ticket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('工单不存在!');