|
@@ -416,10 +416,11 @@ class DetectControllerViewV2(View):
|
|
|
|
|
|
p['borderCoords'] = '' if p['borderCoords'] == '' else json.loads(p['borderCoords']) # ai消息坐标信息
|
|
|
p['ai_event_type_list'] = []
|
|
|
- # 如果是ai消息类型,则分解eventType, 如:123 -> [1,2,3]
|
|
|
- if p['borderCoords'] and p['eventType'] in ai_all_event_type:
|
|
|
- p['ai_event_type_list'] = list(map(int, str(p['eventType'])))
|
|
|
- p['ai_event_type_list'] += EquipmentInfoService.get_combo_types(p['eventType'], p['eventTag'])
|
|
|
+ # if p['eventType'] in ai_all_event_type: # 如果是ai消息类型,则分解eventType, 如:123 -> [1,2,3]
|
|
|
+ # # 如果是ai消息类型,则分解eventType, 如:123 -> [1,2,3]
|
|
|
+ # if p['borderCoords'] and p['eventType'] in ai_all_event_type:
|
|
|
+ # p['ai_event_type_list'] = list(map(int, str(p['eventType'])))
|
|
|
+ # p['ai_event_type_list'] += EquipmentInfoService.get_combo_types(p['eventType'])
|
|
|
res.append(p)
|
|
|
return response.json(0, {'datas': res, 'count': count})
|
|
|
except Exception as e:
|