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