bug修复

This commit is contained in:
2018-04-05 12:31:35 +08:00
parent 009bf0b259
commit 06f3d9dd38

View File

@@ -143,7 +143,7 @@ class Ad extends Admin {
if ($this->request->isPost()) { if ($this->request->isPost()) {
$result = $ad->change(); $result = $ad->change();
if ($result) { if ($result) {
return $this->success("修改成功!", url('admin/ad/lists', array('id' => $this->param('place_id')))); return $this->success("修改成功!", url('admin/ad/lists', array('id' => $this->request->param('place_id'))));
} else { } else {
return $this->error($ad->getError()); return $this->error($ad->getError());
} }