|
...
|
...
|
@@ -539,7 +539,7 @@ class ProductController extends BaseController |
|
|
|
],[
|
|
|
|
'keyword.required' => 'keyword不能为空',
|
|
|
|
]);
|
|
|
|
$data = http_get('http://title.globalso.com/ajax_data_for_web.php?keyword='.$this->param['keyword'],['charset=utf-8']);
|
|
|
|
$data = curlGet('http://title.globalso.com/ajax_data_for_web.php?keyword='.$this->param['keyword']);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($data, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$this->response('success',Code::SUCCESS,$data);
|
|
|
|
}
|
...
|
...
|
|