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