示例#1
0
 def get(self):
     the_get = Get()
     code = the_get.get_code(self)
     message = the_get.get_data(self)
     return self.render("backstage/no_permission.html",
                        code=code,
                        message=message)
示例#2
0
 def get(self):
     the_get = Get()
     self.set_format(the_get.get_format(self))
     country_code = the_get.get_cellphone_country_code(self)
     cellphone_number = the_get.get_cellphone_number(self)
     code = the_get.get_code(self)
     the_cellphone = country_code + cellphone_number
     result = LogicCheckVerificationCode.check_verification_code(
         the_cellphone, code)
     return self.response(result)