Browse Source

优化脚本成功提示3

master
wanghongjun 1 month ago
parent
commit
1a9700a7fe
  1. 6
      app/Services/BaseService.php

6
app/Services/BaseService.php

@ -14,11 +14,11 @@ class BaseService
public function __construct($ip) public function __construct($ip)
{ {
$this->device = [ $this->device = [
'protocol' => 'http', 'protocol' => env('DEVICE_PROTOCOL', 'http'),
'ip' => $ip, 'ip' => $ip,
'port' => '', 'port' => '',
'username' => env('device_username', 'admin'), 'username' => env('DEVICE_USERNAME', 'admin'),
'password' => env('device_password', 'Xingtong1124'), 'password' => env('DEVICE_PASSWORD', 'Xingtong1124'),
]; ];
} }

Loading…
Cancel
Save