Commit a42687e3 authored by hujun's avatar hujun

//

parent 3da4df5c
...@@ -416,14 +416,9 @@ class OfficeRoomService ...@@ -416,14 +416,9 @@ class OfficeRoomService
if (empty($id['id'])) { if (empty($id['id'])) {
$data['msg'] = '没有该文件'; $data['msg'] = '没有该文件';
} else { } else {
$result = $this->m_office_img->editData(['img_status' => 1], $id['id'], 'id'); $this->m_office_img->editData(['img_status' => 1], $id['id'], 'id');
if ($result) {
$data['status'] = 200; $data['status'] = 200;
$data['msg'] = '删除成功'; $data['msg'] = '删除成功';
} else {
$data['msg'] = '删除失败';
}
} }
return $data; return $data;
......
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