BUG 調整 API 傳 不要自己傳 20250604
This commit is contained in:
parent
d58b5eb45d
commit
6e81e7d4fe
@ -82,7 +82,7 @@ class RoomDetailModal extends Component
|
||||
return false;
|
||||
}
|
||||
|
||||
$api = new ApiClient($this->branch->external_ip , $token );
|
||||
$api = new ApiClient(config('app.url') , $token );
|
||||
$response = $api->post('/api/room/sendSwitch', $data);
|
||||
if ($response->failed()) {
|
||||
$this->addError('api', 'API request failed: ' . $response->body());
|
||||
|
Loading…
x
Reference in New Issue
Block a user