1、修改两处手误bug

2、api接口更新
This commit is contained in:
2018-04-10 12:18:30 +08:00
parent 06f3d9dd38
commit b253b538d8
6 changed files with 75 additions and 3 deletions

View File

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