Merge branch 'master' into wechat

wechat
ztt 6 months ago
commit bcf188b1b4
  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']}%"]; !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['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; return $filter;
} }

Loading…
Cancel
Save