|
@@ -79,7 +79,7 @@ class NotificationView(View):
|
|
|
|
|
|
# 一分钟外,推送开启状态
|
|
# 一分钟外,推送开启状态
|
|
detect_med_type = 0 # 0推送旧机制 1存库不推送,2推送存库
|
|
detect_med_type = 0 # 0推送旧机制 1存库不推送,2推送存库
|
|
- # 暂时注释
|
|
|
|
|
|
+ # 暂时注销
|
|
# if have_pkey:
|
|
# if have_pkey:
|
|
# res_data = {'code': 0, 'msg': 'success11111111111111!'}
|
|
# res_data = {'code': 0, 'msg': 'success11111111111111!'}
|
|
# return JsonResponse(status=200, data=res_data)
|
|
# return JsonResponse(status=200, data=res_data)
|
|
@@ -250,7 +250,7 @@ class NotificationView(View):
|
|
'com.ansjer.customizedc_a': 'PatrolSecure',
|
|
'com.ansjer.customizedc_a': 'PatrolSecure',
|
|
}
|
|
}
|
|
if appBundleId in package_title_config.keys():
|
|
if appBundleId in package_title_config.keys():
|
|
- r1eturn package_title_config[appBundleId] + '(' + nickname + ')'
|
|
|
|
|
|
+ return package_title_config[appBundleId] + '(' + nickname + ')'
|
|
else:
|
|
else:
|
|
return nickname
|
|
return nickname
|
|
|
|
|