|
...
|
...
|
@@ -173,12 +173,11 @@ class BaseLogic extends Logic |
|
|
|
$data['project_id'] = $this->user['project_id'];
|
|
|
|
$str = http_build_query($data);
|
|
|
|
$url = $this->user['domain'].'api/delHtml/?'.$str;
|
|
|
|
$rs = shell_exec('curl -k "'.$url.'"');
|
|
|
|
// if($this->user['project_id'] == 177){
|
|
|
|
// @file_put_contents(storage_path('logs/lyh_error.log'), var_export($url, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
// @file_put_contents(storage_path('logs/lyh_error.log'), var_export($rs, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
// }
|
|
|
|
// curlGet($url);
|
|
|
|
if($this->user['project_id'] == 672){//TODO::当前项目通知不过 ,跳过自动更新
|
|
|
|
exec('curl -k "'.$url.'" > /dev/null 2>&1 &');
|
|
|
|
}else{
|
|
|
|
shell_exec('curl -k "'.$url.'"');
|
|
|
|
}
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|