Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6
正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -82,7 +82,7 @@ class RemainDay extends Command | @@ -82,7 +82,7 @@ class RemainDay extends Command | ||
| 82 | $domainModel = new DomainInfoModel(); | 82 | $domainModel = new DomainInfoModel(); |
| 83 | $domainInfos = $domainModel->read(['project_id'=>$item->id]); | 83 | $domainInfos = $domainModel->read(['project_id'=>$item->id]); |
| 84 | if($domainInfos !== false){ | 84 | if($domainInfos !== false){ |
| 85 | - http_get('https://'.$domainInfos['domain'].'/api/stop_or_start_website/'); | 85 | + curl_get('https://'.$domainInfos['domain'].'/api/stop_or_start_website/'); |
| 86 | } | 86 | } |
| 87 | } | 87 | } |
| 88 | $item->save(); | 88 | $item->save(); |
| @@ -1078,7 +1078,7 @@ class ProjectController extends BaseController | @@ -1078,7 +1078,7 @@ class ProjectController extends BaseController | ||
| 1078 | $domainModel = new DomainInfoModel(); | 1078 | $domainModel = new DomainInfoModel(); |
| 1079 | $domainInfo = $domainModel->read(['project_id'=>$this->param['project_id']]); | 1079 | $domainInfo = $domainModel->read(['project_id'=>$this->param['project_id']]); |
| 1080 | if($domainInfo !== false){ | 1080 | if($domainInfo !== false){ |
| 1081 | - http_get('https://'.$domainInfo['domain'].'/api/stop_or_start_website/'); | 1081 | + curl_get('https://'.$domainInfo['domain'].'/api/stop_or_start_website/'); |
| 1082 | } | 1082 | } |
| 1083 | $this->response('success'); | 1083 | $this->response('success'); |
| 1084 | } | 1084 | } |
-
请 注册 或 登录 后发表评论