|
@@ -119,7 +119,8 @@ class TokenObject:
|
|
|
if data['tokenVal']:
|
|
|
# 请求推送
|
|
|
push_url = '{}transparent-transmission/logout-push'.format(DETECT_PUSH_DOMAINS)
|
|
|
- result = requests.post(push_url, data={'push_token': data['tokenVal'], 'user_id': data['userID']})
|
|
|
+ result = requests.post(push_url, data={'push_token': data['tokenVal'], 'user_id': data['userID'],
|
|
|
+ 'app_bundle_id': app_bundle_id})
|
|
|
LOGGER.info('{}登出推送结果:{}'.format(data['userID'], result.json()))
|
|
|
except Exception as e:
|
|
|
self.code = 309
|
|
@@ -170,4 +171,3 @@ class TokenObject:
|
|
|
self.lang = res.get('lang', None)
|
|
|
refreshRes = self.generate(data=res)
|
|
|
return refreshRes
|
|
|
-
|