diff --git a/config/route.php b/config/route.php index da96143..d9a2c8b 100644 --- a/config/route.php +++ b/config/route.php @@ -46,7 +46,7 @@ Route::group('/api/chat', function () { Route::post('/mark-read', app\chat\controller\MessageController::class . '@markRead'); // 标记已读 Route::post('/mark-read-all', app\chat\controller\MessageController::class . '@markReadAll'); // 全部已读 Route::post('/unread-count', app\chat\controller\MessageController::class . '@getUnreadCount'); // 未读总数 - Route::post('/session-list', app\chat\controller\MessageController::class . '@getSessionList'); // 会话列表 + Route::post('/sessionlist', app\chat\controller\MessageController::class . '@getSessionList'); // 会话列表 })->middleware($jwt_middleware); });