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