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