正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -248,7 +248,7 @@ class RankDataLogic extends BaseLogic | @@ -248,7 +248,7 @@ class RankDataLogic extends BaseLogic | ||
| 248 | $list = collect($list30)->merge($list30_0)->merge($list100)->merge($list0)->filter(function ($item) { | 248 | $list = collect($list30)->merge($list30_0)->merge($list100)->merge($list0)->filter(function ($item) { |
| 249 | //搜索 | 249 | //搜索 |
| 250 | if ($this->request['search']) { | 250 | if ($this->request['search']) { |
| 251 | - return strpos($item['keyword'], $this->request['search']) !== false; | 251 | + return strpos(strtolower($item['keyword']), strtolower($this->request['search'])) !== false; |
| 252 | } | 252 | } |
| 253 | //前几名 | 253 | //前几名 |
| 254 | if ($this->request['first']) { | 254 | if ($this->request['first']) { |
-
请 注册 或 登录 后发表评论