作者 lyh

gx

... ... @@ -248,6 +248,8 @@ class RankDataLogic extends BaseLogic
$list = collect($list30)->merge($list30_0)->merge($list100)->merge($list0)->filter(function ($item) {
//搜索
if ($this->request['search']) {
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($item['keyword'], true) . PHP_EOL, FILE_APPEND);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($this->request['search'], true) . PHP_EOL, FILE_APPEND);
return strpos(strtolower($item['keyword']), strtolower($this->request['search'])) !== false;
}
//前几名
... ...