diff --git a/app/common/dao/system/merchant/MerchantDao.php b/app/common/dao/system/merchant/MerchantDao.php index a2bc7e7..ed89dd3 100644 --- a/app/common/dao/system/merchant/MerchantDao.php +++ b/app/common/dao/system/merchant/MerchantDao.php @@ -38,7 +38,6 @@ class MerchantDao extends BaseDao public function search(array $where, $is_del = 0) { $merchantType = $where['merchant_type'] ?? 0; - $merchantType = in_array((int)$merchantType,[0,1,2,3]) ? $merchantType : 0;// 类型非法,使用默认类型 $query = Merchant::getDB() ->when(isset($where['mer_id']) && $where['mer_id'] !== '', function ($query) use ($where) {