|
...
|
...
|
@@ -112,5 +112,14 @@ class Building extends DoubleBase |
|
|
|
return $this->view->fetch();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function del($ids = null)
|
|
|
|
{
|
|
|
|
$result = $this->model->where(['id' => $ids])->delete();
|
|
|
|
if(!$result) {
|
|
|
|
$this->error(__('删除失败'));
|
|
|
|
}
|
|
|
|
$this->success();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} |
...
|
...
|
|