1、获取数组形式参数的方法
2、更新内核路由类
This commit is contained in:
@@ -90,7 +90,7 @@ class Ad extends Admin {
|
||||
}
|
||||
|
||||
public function del(){
|
||||
$id = array_unique((array)$this->param['id']);
|
||||
$id = $this->getArrayParam('id');
|
||||
|
||||
if (empty($id)) {
|
||||
return $this->error("非法操作!");
|
||||
@@ -175,7 +175,7 @@ class Ad extends Admin {
|
||||
}
|
||||
|
||||
public function delad(){
|
||||
$id = array_unique((array)$this->param['id']);
|
||||
$id = $this->getArrayParam('id');
|
||||
|
||||
if (empty($id)) {
|
||||
return $this->error("非法操作!");
|
||||
|
||||
Reference in New Issue
Block a user