def loginVerfiy(self): rs=self.queryData("aws_verfiy_user") if rs["code"]==1: session = request.environ['beaker.session'] session['login_name']=rs["result"]["login_name"] return redirect("/MgrBCard/default") else: return redirect("/Manager/default")
def redirectUrl(self,url="/Manager/default"): return redirect("/Manager/default")
def handel_redirect(): return redirect(request.path+'/')