合并分支 'lyh-server' 到 'master'
gx 查看合并请求 !1625
正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -38,7 +38,8 @@ class GoogleSearchController extends BaseController | @@ -38,7 +38,8 @@ class GoogleSearchController extends BaseController | ||
| 38 | //获取当前项目域名 | 38 | //获取当前项目域名 |
| 39 | $domain = parse_url($this->user['domain'], PHP_URL_HOST); | 39 | $domain = parse_url($this->user['domain'], PHP_URL_HOST); |
| 40 | $noticeModel = new NoticeLog(); | 40 | $noticeModel = new NoticeLog(); |
| 41 | - $info = $noticeModel->read(['project_id' => $this->user['project_id'],'domain'=>$domain,'type'=>$this->param['type'],'status'=>NoticeLog::STATUS_PENDING]); | 41 | + $info = $noticeModel->read(['status'=>NoticeLog::STATUS_PENDING,'type'=>$noticeModel::GOOGLE_SEARCH,'data'=>json_encode(['project_id' => $this->user['project_id'],'domain'=>$domain,'type'=>$this->param['type']],true |
| 42 | + )]); | ||
| 42 | if($info === false){ | 43 | if($info === false){ |
| 43 | $noticeModel->addReturnId(['data'=>json_encode(['project_id' => $this->user['project_id'],'domain'=>$domain,'type'=>$this->param['type']],true | 44 | $noticeModel->addReturnId(['data'=>json_encode(['project_id' => $this->user['project_id'],'domain'=>$domain,'type'=>$this->param['type']],true |
| 44 | ),'type'=>$noticeModel::GOOGLE_SEARCH]); | 45 | ),'type'=>$noticeModel::GOOGLE_SEARCH]); |
-
请 注册 或 登录 后发表评论