合并分支 'akun' 到 'master'
Akun 查看合并请求 !220
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -38,7 +38,7 @@ class Temp extends Command | @@ -38,7 +38,7 @@ class Temp extends Command | ||
| 38 | if ($project) { | 38 | if ($project) { |
| 39 | $list = Product::get(); | 39 | $list = Product::get(); |
| 40 | foreach ($list as $item) { | 40 | foreach ($list as $item) { |
| 41 | - $seo = json_decode($item->seo_mate, true); | 41 | + $seo = $item->seo_mate; |
| 42 | if ($seo) { | 42 | if ($seo) { |
| 43 | $seo['title'] = substr(strip_tags($seo['title']), 0, 70); | 43 | $seo['title'] = substr(strip_tags($seo['title']), 0, 70); |
| 44 | $seo['keyword'] = substr(strip_tags($seo['keyword']), 0, 255); | 44 | $seo['keyword'] = substr(strip_tags($seo['keyword']), 0, 255); |
-
请 注册 或 登录 后发表评论