作者 lyh

gx

... ... @@ -99,7 +99,6 @@ if (!function_exists('http_get')) {
curl_setopt($ch1, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch1, CURLOPT_SSL_VERIFYHOST, false);
$access_txt = curl_exec($ch1);
\Illuminate\Support\Facades\Log::info($access_txt);
curl_close($ch1);
return json_decode($access_txt, true);
}
... ...
... ... @@ -73,7 +73,7 @@ class WebSettingLogic extends BaseLogic
}
$updateNotifyModel->edit(['status'=>1],['project_id'=>$this->user['project_id'],'status'=>0]);
$urlStr = $this->user['domain'].'api/updateHtmlNotify?project_id='.$this->user['project_id'];
http_get($urlStr);
$res = http_get($urlStr);
return $this->success();
}
}
... ...