update rm deadcode

This commit is contained in:
baodev0
2026-09-27 11:42:40 +07:00
parent 82a71244ca
commit 3af59bd9c5
129 changed files with 5194 additions and 2698 deletions
+6 -6
View File
@@ -6,7 +6,7 @@ use App\Facades\BaseHelperFacade as BaseHelper;
use App\Models\DnsServer;
use App\Repositories\DnsManager\Server\DnsServerRepositoryInterface;
use App\Services\Plesk\PleskDomainService;
use Illuminate\Support\Facades\Http;
use App\Support\TlsHttpClientFactory;
use Illuminate\Http\Client\RequestException;
use Illuminate\Support\Facades\Crypt;
use Illuminate\Support\Facades\Log;
@@ -77,7 +77,7 @@ class ServerService
}
try {
$response = Http::withoutVerifying()
$response = TlsHttpClientFactory::plesk()
->withBasicAuth($this->server->username, Crypt::decryptString($this->server->password))
->timeout(10)
->post(
@@ -103,7 +103,7 @@ class ServerService
}
try {
$response = Http::withoutVerifying()
$response = TlsHttpClientFactory::plesk()
->withBasicAuth($this->server->username, Crypt::decryptString($this->server->password))
->timeout(15)
->get(
@@ -127,7 +127,7 @@ class ServerService
}
try {
$response = Http::withoutVerifying()
$response = TlsHttpClientFactory::plesk()
->withBasicAuth($this->server->username, Crypt::decryptString($this->server->password))
->timeout(10)
->put(
@@ -153,7 +153,7 @@ class ServerService
}
try {
$response = Http::withoutVerifying()
$response = TlsHttpClientFactory::plesk()
->withBasicAuth($this->server->username, Crypt::decryptString($this->server->password))
->timeout(30)
->delete(
@@ -178,7 +178,7 @@ class ServerService
}
try {
$response = Http::withoutVerifying()
$response = TlsHttpClientFactory::plesk()
->withBasicAuth($data['username'], $data['password'])
->timeout(10)
->get(BaseHelper::url($data['ip_address']) . $this->entry_points['server']);