|
...
|
...
|
@@ -77,12 +77,6 @@ class DomainInfo extends Command |
|
|
|
public function updatePrivate($param)
|
|
|
|
{
|
|
|
|
$url = 'https://' . $param['domain']. '/api/applySsl/';
|
|
|
|
if(!empty($param['extend_config'])){
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($param['extend_config'], true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$extend_config = json_decode($param['extend_config'], true);
|
|
|
|
}else{
|
|
|
|
$extend_config = '';
|
|
|
|
}
|
|
|
|
$top_domain = $this->getTopDomain($param['domain']);
|
|
|
|
if ((empty($extend_config) || empty($extend_config[0]['origin'])) && $param['id'] != 3) {
|
|
|
|
$extend_config = [
|
...
|
...
|
|