<form action="__URL__/login" method="post" id="login" name="form1">
但是又出问题了.在验证登陆跳转成功后直接又跳回到Login/index方法下,而设置的跳转方向没执行
if(!$user || $user['password']!=$pwd){
$this->error('账号密码错误','Login/index');
}else{
$this->success('登陆成功', U(Index/index));
}
大神解决下 !~
最佳答案