作者 lyh

gx

@@ -249,7 +249,7 @@ class OptimizeController extends BaseController @@ -249,7 +249,7 @@ class OptimizeController extends BaseController
249 if(empty($domain)){ 249 if(empty($domain)){
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 = http_get($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]);