From 1a9700a7fe478948e2437b72726d94e6001c0fb9 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Mon, 29 Jun 2026 15:19:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=84=9A=E6=9C=AC=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E6=8F=90=E7=A4=BA3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/BaseService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Services/BaseService.php b/app/Services/BaseService.php index f08d6b3..8916ce7 100644 --- a/app/Services/BaseService.php +++ b/app/Services/BaseService.php @@ -14,11 +14,11 @@ class BaseService public function __construct($ip) { $this->device = [ - 'protocol' => 'http', + 'protocol' => env('DEVICE_PROTOCOL', 'http'), 'ip' => $ip, 'port' => '', - 'username' => env('device_username', 'admin'), - 'password' => env('device_password', 'Xingtong1124'), + 'username' => env('DEVICE_USERNAME', 'admin'), + 'password' => env('DEVICE_PASSWORD', 'Xingtong1124'), ]; }