更新 提交Ad成功后提示信息显示错误

提交Ad成功后提示信息显示错误
This commit is contained in:
k先森
2019-06-19 14:27:01 +08:00
committed by Gitee
parent 73aabb230e
commit 9228fcf4b8

View File

@@ -51,7 +51,7 @@ class Ad extends Admin {
$place = model('AdPlace');
if ($this->request->isPost()) {
$result = $place->change();
if (false !== false) {
if ($result) {
return $this->success("添加成功!");
} else {
return $this->error($place->getError());