作者 刘锟

Merge remote-tracking branch 'origin/develop' into akun

@@ -149,6 +149,7 @@ class BaseLogic extends Logic @@ -149,6 +149,7 @@ class BaseLogic extends Logic
149 function updateNotify($data) 149 function updateNotify($data)
150 { 150 {
151 $updateNotifyModel = new UpdateNotify(); 151 $updateNotifyModel = new UpdateNotify();
  152 + if($data['route'] != 'all'){
152 $info = $updateNotifyModel->read(['project_id'=>$data['project_id'],'route'=>$data['route'],'status'=>1]); 153 $info = $updateNotifyModel->read(['project_id'=>$data['project_id'],'route'=>$data['route'],'status'=>1]);
153 if($info === false){ 154 if($info === false){
154 $param = [ 155 $param = [
@@ -160,6 +161,9 @@ class BaseLogic extends Logic @@ -160,6 +161,9 @@ class BaseLogic extends Logic
160 } 161 }
161 //单页面直接通知更新 162 //单页面直接通知更新
162 $url = $this->user['domain'].'api/delHtml/?project_id='.$this->user['project_id'].'&route='.$data['route']; 163 $url = $this->user['domain'].'api/delHtml/?project_id='.$this->user['project_id'].'&route='.$data['route'];
  164 + }else{
  165 + $url = $this->user['domain'].'api/webInfo/?type=clear_website';
  166 + }
163 curlGet($url); 167 curlGet($url);
164 return $this->success(); 168 return $this->success();
165 } 169 }