|
@@ -338,6 +338,7 @@ class FeedBackView(View):
|
|
|
event_type = request_dict.get('event_type', None)
|
|
|
event_time = request_dict.get('event_time', None)
|
|
|
channel = request_dict.get('channel', None)
|
|
|
+ tag = request_dict.get('tag', None)
|
|
|
if not all([equipment_info_id, uid, is_st, event_type, event_time, channel]):
|
|
|
return response.json(444)
|
|
|
|
|
@@ -364,7 +365,7 @@ class FeedBackView(View):
|
|
|
PushInaccurateFeedback.objects.create(equipment_info_id=equipment_info_id,
|
|
|
user_id=user_id, event_type=event_type,
|
|
|
uid=uid, channel=channel, add_time=now_time,
|
|
|
- is_st=is_st, event_time=event_time)
|
|
|
+ is_st=is_st, event_time=event_time, tag=tag)
|
|
|
return response.json(0)
|
|
|
except Exception as e:
|
|
|
return response.json(500, repr(e))
|