作者 lyh

gx

... ... @@ -250,7 +250,7 @@ class OptimizeController extends BaseController
$domain = $project['deploy_build']['test_domain'];
}
$url = $domain.'api/update_robots/?project_id='.$this->param['project_id'];
$res = http_get($url);
$res = curlGet($url);
if(empty($res) || $res['status'] != 200){
$this->response('生成robots失败,请联系开发人员',Code::SYSTEM_ERROR,['url'=>$url]);
}
... ...