Commit ce5f6cdc authored by hujun's avatar hujun

is_alert

parent adbfc5c7
...@@ -62,6 +62,7 @@ class OfficeRoom extends Basic ...@@ -62,6 +62,7 @@ class OfficeRoom extends Basic
if ($data['status'] == 'successful') { if ($data['status'] == 'successful') {
$this->data['house_id'] = $data['data']['house_id']; $this->data['house_id'] = $data['data']['house_id'];
$this->data['is_alert'] = $data['data']['is_alert'];
$this->msg = '新增或编辑成功'; $this->msg = '新增或编辑成功';
} else { } else {
$this->code = 101; $this->code = 101;
......
...@@ -38,6 +38,7 @@ class OfficeRoom extends Basic ...@@ -38,6 +38,7 @@ class OfficeRoom extends Basic
$data = $this->service->edit($this->params, $this->userId, $this->siteId); $data = $this->service->edit($this->params, $this->userId, $this->siteId);
if ($data['status'] == 'successful') { if ($data['status'] == 'successful') {
$this->data['house_id'] = $data['data']['house_id']; $this->data['house_id'] = $data['data']['house_id'];
$this->data['is_alert'] = $data['data']['is_alert'];
$this->msg = '新增或编辑成功'; $this->msg = '新增或编辑成功';
} else { } else {
$this->code = 101; $this->code = 101;
......
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