作者 lyh

未续费项目增加搜索

... ... @@ -546,13 +546,10 @@ class OptimizeController extends BaseController
$domain = 'https://' . $domainInfo['domain'] . '/';
ProjectServer::useProject($this->param['project_id']);
$productKeywordModel = new Keyword();
if(empty($this->param['row'])){
$this->row = 500;
}
$data = [];
$lists = $productKeywordModel->lists(['route'=>['!=',null]],$this->page,$this->row,'id',['id','route','seo_tile']);
if (!empty($lists) && !empty($lists['list'])){
foreach ($lists['list'] as $item){
$lists = $productKeywordModel->list(['route'=>['!=',null]],'id',['id','route','seo_tile']);
if (!empty($lists)){
foreach ($lists as $item){
$data[] = $domain . $item['route'] . '/{' . $item['seo_title'] . '}';
}
}
... ...