|
...
|
...
|
@@ -27,8 +27,8 @@ class GoogleLinkController extends BaseController |
|
|
|
$linkModel = new GoogleLink();
|
|
|
|
$this->map['project_id'] = $this->user['project_id'];
|
|
|
|
$this->map['status'] = 1;
|
|
|
|
// $this->map['date'] = ['>=', date('Y-m-d 00:00:00', strtotime('-7 days'))];
|
|
|
|
$lists = $linkModel->lists($this->map,$this->page,$this->row,'id',['url','moz_da','status','url_domian','google_search','date','project_id','domain']);
|
|
|
|
$this->map['date'] = ['>=', date('Y-m-d 00:00:00', strtotime('-7 days'))];
|
|
|
|
$lists = $linkModel->lists($this->map,$this->page,$this->row,'id',['url','moz_da','status','url_domain','google_search','date','project_id','domain']);
|
|
|
|
if(empty($lists['list'])){
|
|
|
|
$linkService = new GoogleLinkService();
|
|
|
|
$data = $linkService->linkPageData($this->user['domain'],$this->user['project_id']);
|
...
|
...
|
|