|
...
|
...
|
@@ -38,7 +38,7 @@ class Temp extends Command |
|
|
|
if ($project) {
|
|
|
|
$list = Product::get();
|
|
|
|
foreach ($list as $item) {
|
|
|
|
$seo = json_decode($item->seo_mate, true);
|
|
|
|
$seo = $item->seo_mate;
|
|
|
|
if ($seo) {
|
|
|
|
$seo['title'] = substr(strip_tags($seo['title']), 0, 70);
|
|
|
|
$seo['keyword'] = substr(strip_tags($seo['keyword']), 0, 255);
|
...
|
...
|
|