1.新增了筛选

This commit is contained in:
xucong 2024-08-10 10:25:25 +08:00
parent cb54e9e4d5
commit 0226c28f4d

@ -11,7 +11,7 @@ class LocalStoreLogic extends Logic
public function getLocalList($data){ public function getLocalList($data){
$model = new LocalStore; $model = new LocalStore;
$distance = ""; $distance = "";
$s = "address like '%".$data['search']."%'"; $s = "address like '%".$data['c_name']."%'";
$count = $model->where('is_delete',0) $count = $model->where('is_delete',0)
->where($s) ->where($s)
->count(); ->count();