def login(self,request,params): username = params['username'] password = params['password'] return app_views.login(request,username,password)
def login(self,request,params): name = params['name'] password = params['password'] #获得加密字符串 password = md5_data(password) return app_views.login(request,name,password)