Commit cb067e9b authored by hujun's avatar hujun

1

parent 6feaf643
...@@ -1030,7 +1030,7 @@ class Shop extends Basic ...@@ -1030,7 +1030,7 @@ class Shop extends Basic
public function editExclusive() public function editExclusive()
{ {
// $res = $this->gHousesModel->exclusive($this->params, $this->params['houses_id'], $this->agentId, $this->siteId); // $res = $this->gHousesModel->exclusive($this->params, $this->params['houses_id'], $this->agentId, $this->siteId);
if (empty($this->params['houses_id'])) { if (empty($this->params['id'])) {
return $this->response(101, '参数错误'); return $this->response(101, '参数错误');
} }
...@@ -1044,7 +1044,7 @@ class Shop extends Basic ...@@ -1044,7 +1044,7 @@ class Shop extends Basic
$msg = $result['msg']; $msg = $result['msg'];
} }
} else { } else {
$res = $this->gHousesModel->editData(['is_exclusive_type'=>0], $this->params['houses_id']); $this->gHousesModel->editData(['is_exclusive_type'=>0], $this->params['id']);
} }
return $this->response($code, $msg); return $this->response($code, $msg);
......
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