修复查询异常

This commit is contained in:
yaooo 2023-09-28 10:56:02 +08:00
parent 094fa73cb7
commit 5c6dfffef7

View File

@ -1023,7 +1023,6 @@ class ProductRepository extends BaseRepository
public function getApiSearch($merId, array $where, int $page, int $limit, $userInfo)
{
$where = array_merge($where, $this->dao->productShow());
halt($where);
//搜索记录
if (isset($where['keyword']) && !empty($where['keyword']))
app()->make(UserVisitRepository::class)->searchProduct(