Commit ef4831db authored by hujun's avatar hujun

1

parent cb067e9b
...@@ -1033,10 +1033,9 @@ class Shop extends Basic ...@@ -1033,10 +1033,9 @@ class Shop extends Basic
if (empty($this->params['id'])) { if (empty($this->params['id'])) {
return $this->response(101, '参数错误'); return $this->response(101, '参数错误');
} }
$code = 200;
$msg = "";
if ($this->params['is_exclusive_type'] == 1) { if ($this->params['is_exclusive_type'] == 1) {
$code = 200;
$msg = "";
$house = new HouseService(); $house = new HouseService();
$result = $house->addHouse($this->params, $this->agentId, 1, 0, 'exclusive'); $result = $house->addHouse($this->params, $this->agentId, 1, 0, 'exclusive');
if ($result['status'] == 'fail') { if ($result['status'] == 'fail') {
......
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