正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -43,7 +43,7 @@ class TicketChatController extends BaseController | @@ -43,7 +43,7 @@ class TicketChatController extends BaseController | ||
| 43 | public function store(TicketChatStoreRequest $request, $ticket_id) | 43 | public function store(TicketChatStoreRequest $request, $ticket_id) |
| 44 | { | 44 | { |
| 45 | $validated = $request->validated(); | 45 | $validated = $request->validated(); |
| 46 | - $ticket = Tickets::find($request->input('ticket_id')); | 46 | + $ticket = Tickets::find($ticket_id); |
| 47 | if (!$ticket) return response('工单未找到', 404); | 47 | if (!$ticket) return response('工单未找到', 404); |
| 48 | if ($ticket->project->is_del) return response('项目状态异常', 400); | 48 | if ($ticket->project->is_del) return response('项目状态异常', 400); |
| 49 | 49 |
-
请 注册 或 登录 后发表评论