后台批量操作bug修复
内核更新
This commit is contained in:
@@ -84,7 +84,11 @@ class Link extends Admin{
|
||||
}
|
||||
|
||||
//删除
|
||||
public function delete($id){
|
||||
public function delete(){
|
||||
$id = array_unique((array)$this->param['id']);
|
||||
if (empty($id)) {
|
||||
return $this->error('非法操作!');
|
||||
}
|
||||
$link = db('Link');
|
||||
|
||||
$map = array('id'=>array('IN',$id));
|
||||
|
||||
Reference in New Issue
Block a user