合并分支 'lyh-server' 到 'master'
gx 查看合并请求 !1620
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -33,7 +33,7 @@ class GoogleSearchController extends BaseController | @@ -33,7 +33,7 @@ class GoogleSearchController extends BaseController | ||
| 33 | ]); | 33 | ]); |
| 34 | //查询数据库查看是否有数据 | 34 | //查询数据库查看是否有数据 |
| 35 | $googleSearchModel = new GoogleSearch(); | 35 | $googleSearchModel = new GoogleSearch(); |
| 36 | - $searchInfo = $googleSearchModel->read(['type'=>$this->map['search'],'project_id'=>$this->user['project_id'],'date'=>['<=',date('Y-m-d', strtotime('-7 days'))]],['id']); | 36 | + $searchInfo = $googleSearchModel->read(['type'=>$this->map['search'],'project_id'=>$this->user['project_id'],'date'=>['>=',date('Y-m-d', strtotime('-7 days'))]],['id']); |
| 37 | if($searchInfo === false){ | 37 | if($searchInfo === false){ |
| 38 | //获取当前项目域名 | 38 | //获取当前项目域名 |
| 39 | $domain = parse_url($this->user['domain'], PHP_URL_HOST); | 39 | $domain = parse_url($this->user['domain'], PHP_URL_HOST); |
-
请 注册 或 登录 后发表评论