fix: ticket service

This commit is contained in:
Tokumeikoi 2020-08-03 16:17:03 +08:00
parent f626acc0aa
commit 4a9367158b
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ class TicketController extends Controller
abort(500, '消息不能为空');
}
$ticketService = new TicketService();
$ticketService->replayByAdmin(
$ticketService->replyByAdmin(
$request->input('id'),
$request->input('message'),
$request->session()->get('id')

View File

@ -10,7 +10,7 @@ use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;
class TicketService {
public function replayByAdmin($ticketId, $message, $userId):void
public function replyByAdmin($ticketId, $message, $userId):void
{
$ticket = Ticket::where('id', $ticketId)
->first();