更新 提交Ad成功后提示信息显示错误
提交Ad成功后提示信息显示错误
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user