|
|
@@ -57,7 +57,7 @@ class Stores extends ApiController
|
|
|
), 2) AS distance")
|
|
|
->having('distance < 20')
|
|
|
->order(['distance' => 'ASC'])
|
|
|
- ->where(['status' => 1])
|
|
|
+ ->where(['status' => 1,'type'=> $param['type']])
|
|
|
->limit((($param['page'] - 1) * $limit) . "," . $limit)
|
|
|
->select();
|
|
|
|