|
@@ -94,6 +94,7 @@ class DetectControllerViewV2(View):
|
|
|
|
|
|
def do_change_status(self, userID, request_dict, response):
|
|
|
token_val = request_dict.get('token_val', None)
|
|
|
+ jg_token_val = request_dict.get('jg_token_val', None)
|
|
|
appBundleId = request_dict.get('appBundleId', None)
|
|
|
app_type = request_dict.get('app_type', None)
|
|
|
push_type = request_dict.get('push_type', None)
|
|
@@ -196,6 +197,7 @@ class DetectControllerViewV2(View):
|
|
|
'app_type': app_type,
|
|
|
'push_type': push_type,
|
|
|
'token_val': token_val,
|
|
|
+ 'jg_token_val': jg_token_val if push_type in ['5', '6'] and jg_token_val else '',
|
|
|
'updTime': nowTime,
|
|
|
'lang': lang,
|
|
|
'tz': tz
|
|
@@ -209,6 +211,7 @@ class DetectControllerViewV2(View):
|
|
|
'app_type': app_type,
|
|
|
'push_type': push_type,
|
|
|
'token_val': token_val,
|
|
|
+ 'jg_token_val': jg_token_val if push_type in ['5', '6'] and jg_token_val else '',
|
|
|
'm_code': m_code,
|
|
|
'addTime': nowTime,
|
|
|
'updTime': nowTime,
|