Exemplo n.º 1
0
 public function view_platformDel()
 {
     if (!isset($_SESSION['userId'])) {
         header('Location:index.php?mod=login&act=index');
     }
     //删除获取UIL传递参数
     $delId = trim($_GET['delId']);
     $where = " where id = '{$delId}'";
     $platformAct = new platformAct();
     $list = $platformAct->act_platformDel($where);
     if ($list) {
         header('Location:index.php?mod=platformManage&act=platformShow');
     } else {
         header('Location:index.php?mod=platformManage&act=platformShow');
     }
 }