mirror of
https://github.com/v2board/v2board.git
synced 2025-01-27 00:19:10 +08:00
update
This commit is contained in:
parent
4eb5e02cfd
commit
d69d830e32
@ -59,6 +59,9 @@ class TicketController extends Controller
|
|||||||
if (!$ticket) {
|
if (!$ticket) {
|
||||||
abort(500, '工单不存在');
|
abort(500, '工单不存在');
|
||||||
}
|
}
|
||||||
|
if ($ticket->status) {
|
||||||
|
abort(500, '工单已关闭,无法回复');
|
||||||
|
}
|
||||||
DB::beginTransaction();
|
DB::beginTransaction();
|
||||||
$ticketMessage = TicketMessage::create([
|
$ticketMessage = TicketMessage::create([
|
||||||
'user_id' => $request->session()->get('id'),
|
'user_id' => $request->session()->get('id'),
|
||||||
|
Loading…
Reference in New Issue
Block a user