|
...
|
...
|
@@ -1153,7 +1153,10 @@ class ProjectController extends BaseController |
|
|
|
|
|
|
|
if($this->param['site_status'] == 1){
|
|
|
|
//关闭站点:通知C端
|
|
|
|
curl_get('https://'.$domainInfo['domain'].'/api/stop_or_start_website');
|
|
|
|
$re = curl_get('https://'.$domainInfo['domain'].'/api/stop_or_start_website');
|
|
|
|
if(isset($re['status']) && $re['status'] !== 200){
|
|
|
|
$this->fail($re['message']);
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
//开启站点:创建建站任务
|
|
|
|
$serverIpModel = new ServersIp();
|
...
|
...
|
|