Commit dcb8068f authored by hujun's avatar hujun

修改获取商铺详情

parent 916acd2c
......@@ -255,11 +255,11 @@ class Shop extends Basic
}
} else {
if (empty($this->params['id'])) {
//获取商铺详情
$result['data'] = $this->gHousesModel->getHouseById($this->params['id']);
} else {
$result['code'] = 101;
$result['msg'] = 'Id is null';
} else {
//获取商铺详情
$result['data'] = $this->gHousesModel->getHouseById($this->params['id']);
}
}
......
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