内容管理的临时解决方案

This commit is contained in:
2016-11-18 17:13:38 +08:00
parent 12709d6cb4
commit 4d2833421a
2 changed files with 16 additions and 9 deletions

View File

@@ -152,7 +152,7 @@ class Content extends Admin {
$map['id'] = array('IN', $id);
$result = $this->model->del($map);
if ($result) {
if (false !== $result) {
return $this->success("删除成功!");
} else {
return $this->error("删除失败!");