|
@@ -224,8 +224,9 @@ class DetectControllerViewV2(View):
|
|
|
|
|
|
types = ALGORITHM_COMBO_TYPES
|
|
|
device_type = device_info_qs[0].Type
|
|
|
+ ai_type = uid_set_qs.first().ai_type
|
|
|
# IPC默认关闭移动侦测APP通知
|
|
|
- if device_type and device_type not in [1, 2, 3, 4, 10001]:
|
|
|
+ if ai_type > 0 and device_type and device_type not in [1, 2, 3, 4, 10001]:
|
|
|
types = [x for x in types if x != 51]
|
|
|
msg_data = {'appPush': 1,
|
|
|
'pushTime': {'allDay': 1, 'repeat': 127, 'endTime': 0, 'timeZone': '+08.00',
|