作者 lyh

gx

@@ -540,6 +540,7 @@ class ProductController extends BaseController @@ -540,6 +540,7 @@ class ProductController extends BaseController
540 'keyword.required' => 'keyword不能为空', 540 'keyword.required' => 'keyword不能为空',
541 ]); 541 ]);
542 $data = shell_exec('curl -k "http://title.globalso.com/ajax_data_for_web.php?keyword='.$this->param['keyword'].'"'); 542 $data = shell_exec('curl -k "http://title.globalso.com/ajax_data_for_web.php?keyword='.$this->param['keyword'].'"');
  543 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($data, true) . PHP_EOL, FILE_APPEND);
543 $this->response('success',Code::SUCCESS,$data); 544 $this->response('success',Code::SUCCESS,$data);
544 } 545 }
545 } 546 }