正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -53,7 +53,9 @@ class ProductLogic extends BaseLogic | @@ -53,7 +53,9 @@ class ProductLogic extends BaseLogic | ||
| 53 | if($is_upgrade == 0 || $six_read == 1){ | 53 | if($is_upgrade == 0 || $six_read == 1){ |
| 54 | $this->param['route'] = RouteMap::setRoute($this->param['route'], RouteMap::SOURCE_PRODUCT, $this->param['id'], $this->user['project_id']); | 54 | $this->param['route'] = RouteMap::setRoute($this->param['route'], RouteMap::SOURCE_PRODUCT, $this->param['id'], $this->user['project_id']); |
| 55 | } | 55 | } |
| 56 | + if(empty($this->param['seo_mate']['title'])){ | ||
| 56 | $this->param['seo_mate']['title'] = $this->param['title'] ?? ''; | 57 | $this->param['seo_mate']['title'] = $this->param['title'] ?? ''; |
| 58 | + } | ||
| 57 | $this->param['seo_mate'] = json_encode($this->param['seo_mate'],true); | 59 | $this->param['seo_mate'] = json_encode($this->param['seo_mate'],true); |
| 58 | $route = $this->param['route']; | 60 | $route = $this->param['route']; |
| 59 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($this->param, true) . PHP_EOL, FILE_APPEND); | 61 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($this->param, true) . PHP_EOL, FILE_APPEND); |
-
请 注册 或 登录 后发表评论