コード例 #1
0
    def get(self):
        params = Get()
        self.set_format(params.get_format(self))
        cellphone = params.get_cellphone_number(self)
        country_code = params.get_cellphone_country_code(self)

        instance = LogicExistCellphone()
        result = instance.exist(country_code, cellphone)
        return self.response(result)
コード例 #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)