作者 lyh

gx

@@ -40,6 +40,7 @@ class SuppliersController extends BaseController @@ -40,6 +40,7 @@ class SuppliersController extends BaseController
40 foreach ($lists as $v){ 40 foreach ($lists as $v){
41 if(!empty($v['data'])){ 41 if(!empty($v['data'])){
42 $resultData = json_decode($v['data'],true); 42 $resultData = json_decode($v['data'],true);
  43 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($resultData, true) . PHP_EOL, FILE_APPEND);
43 foreach ($resultData as $value){ 44 foreach ($resultData as $value){
44 $value = (array)$value; 45 $value = (array)$value;
45 $value['keyword'] = $v['keyword']; 46 $value['keyword'] = $v['keyword'];