正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -55,6 +55,7 @@ class UpdateController extends BaseController | @@ -55,6 +55,7 @@ class UpdateController extends BaseController | ||
| 55 | $list = DB::connection('custom_mysql')->table('gl_product')->where(['status'=>1,'project_id'=>$project_id])->get()->toArray(); | 55 | $list = DB::connection('custom_mysql')->table('gl_product')->where(['status'=>1,'project_id'=>$project_id])->get()->toArray(); |
| 56 | if(!empty($list)){ | 56 | if(!empty($list)){ |
| 57 | foreach ($list as $v){ | 57 | foreach ($list as $v){ |
| 58 | + $v = (array)$v; | ||
| 58 | if(!empty($v['seo_mate'])){ | 59 | if(!empty($v['seo_mate'])){ |
| 59 | $seo_arr = $v['seo_mate']; | 60 | $seo_arr = $v['seo_mate']; |
| 60 | //更新seo_title | 61 | //更新seo_title |
-
请 注册 或 登录 后发表评论