改进 Request 获取方式
This commit is contained in:
parent
9fc3e97ea3
commit
a0d0dc4b35
@ -46,7 +46,7 @@ public function store(Request $request, WorkOrder $workOrder)
|
|||||||
|
|
||||||
|
|
||||||
$reply = Reply::create([
|
$reply = Reply::create([
|
||||||
'content' => $request->toArray()['content'],
|
'content' => $request->input('content'),
|
||||||
'work_order_id' => $workOrder->id,
|
'work_order_id' => $workOrder->id,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user