Merge remote-tracking branch 'origin/develop' into akun
正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
| @@ -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 | } |
-
请 注册 或 登录 后发表评论