This commit is contained in:
root 2019-12-13 17:42:21 +08:00
parent 4eb5e02cfd
commit d69d830e32

View File

@ -59,6 +59,9 @@ class TicketController extends Controller
if (!$ticket) {
abort(500, '工单不存在');
}
if ($ticket->status) {
abort(500, '工单已关闭,无法回复');
}
DB::beginTransaction();
$ticketMessage = TicketMessage::create([
'user_id' => $request->session()->get('id'),