Пример #1
0
    def get(self, *args, **kwargs):
        try:
            user_id = self.get_argument('user_id')
            user_key = self.get_argument('user_key')
            zoneid = self.get_argument('user_pf')
        except KeyError:
            server_log.warning("Failed to get argument", exc_info=True)

        checker = check_login.LoginChecker()
        checker.check_info(user_id, user_key, zoneid, self._check_ret_callback)
Пример #2
0
 def check_login_checker(self):
     for i in range(100):
         checker = check_login.LoginChecker()
         user_id = 'userid' + str(i)
         user_key = 'userkey' + str(i)
         checker.check_info(user_id, user_key, self._test_callback)