示例#1
0
 public function action_renew()
 {
     $id = $_GET['id'];
     $interval = $_GET['interval'];
     Card::renew($id, $interval);
     header('Location: /index.php?act=one&id=' . $id);
 }