|
...
|
...
|
@@ -128,6 +128,7 @@ class ProductLogic extends BaseLogic |
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($val['data'], true) . PHP_EOL, FILE_APPEND);
|
|
|
|
if(!empty($val['data']) && is_array($val['data'])){
|
|
|
|
foreach ($val['data'] as $item){
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($item, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$save_data = $this->handleDetailParam($column_id,$product_id,$item);
|
|
|
|
$this->model->add($save_data);
|
|
|
|
}
|
...
|
...
|
|