正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -42,7 +42,7 @@ class KeywordController extends BaseController | @@ -42,7 +42,7 @@ class KeywordController extends BaseController | ||
| 42 | foreach ($data['list'] as &$v){ | 42 | foreach ($data['list'] as &$v){ |
| 43 | $v['product_num'] = Product::where('keyword_id','like' ,'%,'.$v['id'].',%')->count(); | 43 | $v['product_num'] = Product::where('keyword_id','like' ,'%,'.$v['id'].',%')->count(); |
| 44 | $v['tdk'] = boolval($v['seo_title']) * boolval($v['seo_keywords']) * boolval($v['seo_description']); | 44 | $v['tdk'] = boolval($v['seo_title']) * boolval($v['seo_keywords']) * boolval($v['seo_description']); |
| 45 | - $v['url'] = $this->user['domain'] . $v['url']; | 45 | + $v['url'] = $this->user['domain'] . $v['route']; |
| 46 | } | 46 | } |
| 47 | } | 47 | } |
| 48 | return $this->response('success',Code::SUCCESS,$data); | 48 | return $this->response('success',Code::SUCCESS,$data); |
-
请 注册 或 登录 后发表评论