作者 lyh

gx

@@ -76,10 +76,8 @@ class EditCustomDomainBt implements ShouldQueue @@ -76,10 +76,8 @@ class EditCustomDomainBt implements ShouldQueue
76 'is_https' => 1 76 'is_https' => 1
77 ]; 77 ];
78 } 78 }
79 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export('生成ssl--'.json_encode($api_param), true) . PHP_EOL, FILE_APPEND);  
80 try { 79 try {
81 $rs = HttpUtils::get($api_url, $api_param); 80 $rs = HttpUtils::get($api_url, $api_param);
82 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export('生成ssl--'.$rs, true) . PHP_EOL, FILE_APPEND);  
83 $rs = json_decode($rs, true); 81 $rs = json_decode($rs, true);
84 if (isset($rs['status']) && $rs['status'] == 200) { 82 if (isset($rs['status']) && $rs['status'] == 200) {
85 $this->output($domain_info['custom_domain'] . ':站点编辑成功'); 83 $this->output($domain_info['custom_domain'] . ':站点编辑成功');