|
...
|
...
|
@@ -114,8 +114,8 @@ class ProductLogic extends BaseLogic |
|
|
|
if(!empty($detail)){
|
|
|
|
// try {
|
|
|
|
$this->delProductDetail($product_id);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($detail, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
foreach ($detail as $val){
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($val, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
//查看当前栏目是否存在
|
|
|
|
if(empty($val['column_name'])){
|
|
|
|
continue;
|
...
|
...
|
|