|
@@ -62,7 +62,6 @@ class TokenObject:
|
|
|
self.code = 0
|
|
|
return res
|
|
|
if self.token != redis_token:
|
|
|
- LOGGER.info('redis_token:{},access_token:{}'.format(redis_token, self.token))
|
|
|
self.code = 310
|
|
|
return
|
|
|
self.code = 0
|
|
@@ -112,6 +111,7 @@ class TokenObject:
|
|
|
if app_bundle_id:
|
|
|
redis_obj = RedisObject()
|
|
|
key = 'token_user_{}_{}'.format(data['userID'], app_bundle_id)
|
|
|
+ LOGGER.info('写入新token:{}'.format(access_token))
|
|
|
redis_obj.set_data(key, access_token)
|
|
|
if data['tokenVal']:
|
|
|
# 请求推送
|