Commit 6a02b30f authored by clone's avatar clone

bug

parent 5c9006ad
......@@ -191,12 +191,12 @@ class Shop extends Basic
public function getShopDetail()
{
/* $params = array(
"id" => 5,
"site_area" => 1, //1.c端 3.b端
$params = array(
"id" => 14,
"site_area" => 3, //1.c端 3.b端
"user_id" => 2 //if c端 用户登录后传入user_id
);*/
$params = $this->params;
);
//$params = $this->params;
$conditions = [];
if (empty($params['id'])) {
......
......@@ -180,6 +180,7 @@ class GHousesImgs extends BaseModel
*/
public function getHouseImages($param,$limit_)
{
$param["img_status"] = 0;
//rank
return Db::table($this->table)
->field("id,house_id,img_type,img_name,img_status")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment