|
@@ -66,7 +66,7 @@ class NotificationView(View):
|
|
|
company_secrete = request_dict.get('company_secrete', None)
|
|
|
region = request_dict.get('region', None)
|
|
|
is_filter = request_dict.get('is_filter', 1)
|
|
|
-
|
|
|
+ is_filter = int(is_filter)
|
|
|
if not region:
|
|
|
return JsonResponse(status=200, data={'code': 404, 'msg': 'region is not exist'})
|
|
|
region = int(region)
|
|
@@ -178,7 +178,7 @@ class NotificationView(View):
|
|
|
|
|
|
if detect_group is not None:
|
|
|
if is_filter == 0:
|
|
|
- have_dkey = 1
|
|
|
+ have_dkey = 0
|
|
|
|
|
|
if have_dkey:
|
|
|
detect_med_type = 1 # 1为存库不推送
|