From 450811e6411d64dc359458e3f46a19def5fd62e5 Mon Sep 17 00:00:00 2001 From: "allen.yan" Date: Wed, 4 Jun 2025 13:08:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=20api=20=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=20/room/receiveSwitch=20=E5=9B=9E=E5=82=B3=E8=B3=87=E8=A8=8A?= =?UTF-8?q?=E7=94=A8=2020250604?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/api.php | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/api.php b/routes/api.php index 5dc8570..5259197 100644 --- a/routes/api.php +++ b/routes/api.php @@ -12,5 +12,6 @@ Route::post('/room/receiveRegister', [RoomControlController::class, 'receiveRegi Route::middleware('auth:sanctum')->group(function () { Route::get('/profile', [AuthController::class, 'profile']); Route::post('/room/sendSwitch', [RoomControlController::class, 'sendSwitch']); + Route::post('/room/receiveSwitch', [RoomControlController::class, 'receiveSwitch']); Route::post('/room/heartbeat', [RoomControlController::class, 'StatusReport']); }); \ No newline at end of file