|
@@ -419,6 +419,12 @@ class UidSetView(View):
|
|
|
leave_voice = request_dict.get('leave_voice', None)
|
|
|
voice_status = request_dict.get('voice_status', None)
|
|
|
intelligent_mute = request_dict.get('intelligent_mute', None)
|
|
|
+ start_x = request_dict.get('start_x', None)
|
|
|
+ start_y = request_dict.get('start_y', None)
|
|
|
+ end_x = request_dict.get('end_x', None)
|
|
|
+ end_y = request_dict.get('end_y', None)
|
|
|
+ start_time = request_dict.get('start_time', None)
|
|
|
+ end_time = request_dict.get('end_time', None)
|
|
|
|
|
|
if uid and channel:
|
|
|
channel = int(channel)
|
|
@@ -436,7 +442,25 @@ class UidSetView(View):
|
|
|
ucs['voice_prompt_status'] = voice_status
|
|
|
|
|
|
if intelligent_mute:
|
|
|
- ucs['intelligent_mute'] = intelligent_mute
|
|
|
+ ucs['voice_prompt_intelligent_mute'] = intelligent_mute
|
|
|
+
|
|
|
+ if start_x:
|
|
|
+ ucs['voice_start_x'] = start_x
|
|
|
+
|
|
|
+ if start_y:
|
|
|
+ ucs['voice_start_y'] = start_y
|
|
|
+
|
|
|
+ if end_x:
|
|
|
+ ucs['voice_end_x'] = end_x
|
|
|
+
|
|
|
+ if end_y:
|
|
|
+ ucs['voice_end_y'] = end_y
|
|
|
+
|
|
|
+ if start_time:
|
|
|
+ ucs['voice_start_time'] = start_time
|
|
|
+
|
|
|
+ if end_time:
|
|
|
+ ucs['voice_end_time'] = end_time
|
|
|
|
|
|
uid_channel_set_qs = UidChannelSetModel.objects.filter(uid__uid=uid, channel=channel)
|
|
|
if not uid_channel_set_qs.exists():
|