|
...
|
...
|
@@ -42,7 +42,7 @@ class KeywordController extends BaseController |
|
|
|
foreach ($data['list'] as &$v){
|
|
|
|
$v['product_num'] = Product::where('keyword_id','like' ,'%,'.$v['id'].',%')->count();
|
|
|
|
$v['tdk'] = boolval($v['seo_title']) * boolval($v['seo_keywords']) * boolval($v['seo_description']);
|
|
|
|
$v['url'] = $this->user['domain'] . $v['url'];
|
|
|
|
$v['url'] = $this->user['domain'] . $v['route'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return $this->response('success',Code::SUCCESS,$data);
|
...
|
...
|
|