作者 刘锟

合并分支 'akun' 到 'master'

Akun



查看合并请求 !1978
... ... @@ -1137,7 +1137,7 @@ class ProjectController extends BaseController
$domainModel = new DomainInfoModel();
$domainInfo = $domainModel->read(['project_id'=>$this->param['id']]);
if($domainInfo !== false){
$rs = curl_get('https://'.$domainInfo['domain'].'/api/stop_or_start_website/');
$rs = curl_get('https://'.$domainInfo['domain'].'/api/stop_or_start_website?site_status='.$this->map['site_status']);
@file_put_contents(storage_path('logs/site_status.log'), var_export('通知C端on/off'.$domainInfo['domain'].'.返回结果:'.json_encode($rs), true) . PHP_EOL, FILE_APPEND);
}
$this->response('success');
... ...