Commit a42687e3 authored by hujun's avatar hujun

//

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