|
@@ -118,7 +118,7 @@ class TokenObject:
|
|
|
}
|
|
|
app_bundle_id = data.get('appBundleId', None)
|
|
|
token_version = data.get('tokenVersion', None)
|
|
|
- LOGGER.info('{}生成新token,参数:{}'.format(data['userID'], data))
|
|
|
+ LOGGER.info('{}生成新token,参数:{}'.format(data.get('userID', 'pctest'), data))
|
|
|
if app_bundle_id and token_version == 'V2':
|
|
|
redis_obj = RedisObject()
|
|
|
key = 'token_user_{}_{}'.format(data['userID'], app_bundle_id)
|