...
|
...
|
@@ -565,7 +565,7 @@ public function search(Request $request) |
|
|
//获取搜索参数
|
|
|
$data["search_content"] = '';
|
|
|
if (isset($data['s'])) {
|
|
|
$req["search_content"] = $searchContent = $data['s'];
|
|
|
$req["search_content"] = $data['s'];
|
|
|
}
|
|
|
if (isset($data['search'])) {
|
|
|
$req["search_content"] = $data['search'];
|
...
|
...
|
@@ -573,6 +573,7 @@ public function search(Request $request) |
|
|
|
|
|
//分页
|
|
|
$req["page"] = isset($data['page']) && (int)$data['page'] > 1 ? (int)$data['page'] : 1;
|
|
|
$req["domain"] = $request->getHost();
|
|
|
|
|
|
//转发data
|
|
|
$transmitUrl = env("API_URL");
|
...
|
...
|
|