def select(cls, args): querys = User.update_access_token(1, "sweibo", "atttt", "2014-01-04") return querys[0].get_json()
def post(self): uid = self.current_user.id code = self.get_argument("code") User.update_access_token(self.current_user.id, code, None, None, None, None)