正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -114,8 +114,8 @@ class ProductLogic extends BaseLogic | @@ -114,8 +114,8 @@ class ProductLogic extends BaseLogic | ||
| 114 | if(!empty($detail)){ | 114 | if(!empty($detail)){ |
| 115 | // try { | 115 | // try { |
| 116 | $this->delProductDetail($product_id); | 116 | $this->delProductDetail($product_id); |
| 117 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($detail, true) . PHP_EOL, FILE_APPEND); | ||
| 118 | foreach ($detail as $val){ | 117 | foreach ($detail as $val){ |
| 118 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($val, true) . PHP_EOL, FILE_APPEND); | ||
| 119 | //查看当前栏目是否存在 | 119 | //查看当前栏目是否存在 |
| 120 | if(empty($val['column_name'])){ | 120 | if(empty($val['column_name'])){ |
| 121 | continue; | 121 | continue; |
-
请 注册 或 登录 后发表评论