正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -359,7 +359,7 @@ class ProductController extends BaseController | @@ -359,7 +359,7 @@ class ProductController extends BaseController | ||
| 359 | } | 359 | } |
| 360 | if (!empty($new_content)){ | 360 | if (!empty($new_content)){ |
| 361 | $detailModel = new Detail(); | 361 | $detailModel = new Detail(); |
| 362 | - $detailInfo = $detailModel->read(['column_id'=>1]); | 362 | + $detailInfo = $detailModel->read(['column_id'=>1,'product_id'=>$this->param['product_id']]); |
| 363 | if($detailInfo !== false && !empty($detailInfo['content'])){ | 363 | if($detailInfo !== false && !empty($detailInfo['content'])){ |
| 364 | $productInfo['content'] = $new_content . $detailInfo['content']['content']; | 364 | $productInfo['content'] = $new_content . $detailInfo['content']['content']; |
| 365 | } | 365 | } |
-
请 注册 或 登录 后发表评论