示例#1
0
文件: main.py 项目: ccwen/devtusita
 def get(self, email):
   self.isLegalUser(email)
   if self.request.url.endswith('apply'):
     self.checkData(mafRead(email))
   elif self.request.url.endswith('retreat'):
     self.checkData(retreatRead(email))
   else:
     self.checkData(read(email))
示例#2
0
 def get(self, email):
   if not self.isLegalUser(email):
     self.error(404)
   else:
     self.checkData(retreatRead(email))