1 $this -> redirect('index',array('type'=>2,'id'=> 0)); //Jump directly
2 $this->success('Submission failed, error message: 0001",'Summer/index'); // Jump after prompt, no parameters
4 $this->success( 'Registration successful!',U("Activity/sign",array('id'=>$res))); // Jump after prompt, with parameters
5 $this->error( 'Already registered!',U("Activity/sign",array('id'=>$id))); // Jump after prompt, with parameters