Пример #1
0
 def login(self,request,params):
     username = params['username']
     password = params['password']
     return app_views.login(request,username,password)
Пример #2
0
 def login(self,request,params):
     name = params['name']
     password = params['password']
     #获得加密字符串
     password = md5_data(password)
     return app_views.login(request,name,password)