def gen_token(cls):
        """ 生成 access_token """
        token = os.urandom(16)
        token_time = int(time.time())
        return {'token': token, 'token_time': token_time}
def gen_token(cls):
        
        token = os.urandom(16)
        token_time = int(time.time())
        return {'token': token, 'token_time': token_time}
def gen_token ( cls ) : token = os . urandom ( 16 ) token_time = int ( time . time ( ) ) return { 'token' : token , 'token_time' : token_time }
生成 access_token
生成 access_token