更新 提交Ad成功后提示信息显示错误
提交Ad成功后提示信息显示错误
This commit is contained in:
@@ -51,7 +51,7 @@ class Ad extends Admin {
|
|||||||
$place = model('AdPlace');
|
$place = model('AdPlace');
|
||||||
if ($this->request->isPost()) {
|
if ($this->request->isPost()) {
|
||||||
$result = $place->change();
|
$result = $place->change();
|
||||||
if (false !== false) {
|
if ($result) {
|
||||||
return $this->success("添加成功!");
|
return $this->success("添加成功!");
|
||||||
} else {
|
} else {
|
||||||
return $this->error($place->getError());
|
return $this->error($place->getError());
|
||||||
|
|||||||
Reference in New Issue
Block a user