正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -250,7 +250,7 @@ class OptimizeController extends BaseController | @@ -250,7 +250,7 @@ class OptimizeController extends BaseController | ||
| 250 | $domain = $project['deploy_build']['test_domain']; | 250 | $domain = $project['deploy_build']['test_domain']; |
| 251 | } | 251 | } |
| 252 | $url = $domain.'api/update_robots/?project_id='.$this->param['project_id']; | 252 | $url = $domain.'api/update_robots/?project_id='.$this->param['project_id']; |
| 253 | - $res = http_get($url); | 253 | + $res = curlGet($url); |
| 254 | if(empty($res) || $res['status'] != 200){ | 254 | if(empty($res) || $res['status'] != 200){ |
| 255 | $this->response('生成robots失败,请联系开发人员',Code::SYSTEM_ERROR,['url'=>$url]); | 255 | $this->response('生成robots失败,请联系开发人员',Code::SYSTEM_ERROR,['url'=>$url]); |
| 256 | } | 256 | } |
-
请 注册 或 登录 后发表评论