更新 Ad.php
This commit is contained in:
@@ -51,8 +51,8 @@ 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 (!empty($_POST['name'])){
|
if (!empty($_POST['name'])){
|
||||||
$result = $place->change();
|
$result = $place->change();
|
||||||
if ($result) {
|
if ($result) {
|
||||||
return $this->success("添加成功!");
|
return $this->success("添加成功!");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user