更新 Ad.php

This commit is contained in:
k先森
2019-06-19 14:45:34 +08:00
committed by Gitee
parent 036366af52
commit a98eb1b085

View File

@@ -51,8 +51,8 @@ class Ad extends Admin {
$place = model('AdPlace');
if ($this->request->isPost()) {
$result = $place->change();
if (!empty($_POST['name'])){
$result = $place->change();
if (!empty($_POST['name'])){
$result = $place->change();
if ($result) {
return $this->success("添加成功!");
} else {