Merge branch 'feature/main20240421'

* feature/main20240421:
  1
lszyh
郭嘉 6 months ago
commit f37bc5a237
  1. 7
      app/common/model/Merchant.php

@ -128,6 +128,13 @@ class Merchant extends BaseModel
!empty($params['search']) && $filter[] = ['shop_name|shop_label', 'like', "%{$params['search']}%"];
// 门店状态
isset($params['is_select_mechant']) && $filter[] = ['is_select_mechant', '=', (int)$params['is_select_mechant']];
isset($params['shop_name']) && $filter[] = ['shop_name', '=', $params['shop_name']];
isset($params['shop_label']) && $filter[] = ['shop_label', '=', $params['shop_label']];
isset($params['score']) && $filter[] = ['score', '=', (int)$params['score']];
return $filter;
}

Loading…
Cancel
Save