1、获取数组形式参数的方法

2、更新内核路由类
This commit is contained in:
2016-07-11 14:58:05 +08:00
parent 6460d64ceb
commit 50403e365a
10 changed files with 43 additions and 40 deletions

View File

@@ -127,7 +127,7 @@ class Channel extends Admin{
* @author 麦当苗儿 <zuojiazi@vip.qq.com>
*/
public function del() {
$id = array_unique((array)$this->param['id']);
$id = $this->getArrayParam('id');
if (empty($id)) {
return $this->error('请选择要操作的数据!');