|
@@ -153,13 +153,11 @@ class Home extends NotORM{
|
|
|
}
|
|
}
|
|
|
public function getClassidShopLists($type,$province,$name,$p){
|
|
public function getClassidShopLists($type,$province,$name,$p){
|
|
|
// $where=['type'=>$type];
|
|
// $where=['type'=>$type];
|
|
|
-// $where['type'] = $type;
|
|
|
|
|
-
|
|
|
|
|
- $where="type={$type} ";
|
|
|
|
|
|
|
+ $where['type'] = $type;
|
|
|
|
|
+//
|
|
|
|
|
+// $where="type={$type} ";
|
|
|
if(!empty($province)){
|
|
if(!empty($province)){
|
|
|
-// $where['province'] = $province;
|
|
|
|
|
-// $where .= ' and province='.$province;
|
|
|
|
|
- $where .=" and province={$province} ";
|
|
|
|
|
|
|
+ $where['province'] = $province;
|
|
|
}
|
|
}
|
|
|
if(!empty($name)){
|
|
if(!empty($name)){
|
|
|
// $where['province'] = $province;
|
|
// $where['province'] = $province;
|