Преглед на файлове

设置语音功能,添加更新时间

tanghongbin преди 4 години
родител
ревизия
a203a42294
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      Controller/UidSetController.py

+ 3 - 1
Controller/UidSetController.py

@@ -433,7 +433,9 @@ class UidSetView(View):
             if channel < 1:
                 return response.json(444, 'channel')
             try:
-                ucs = {}
+                ucs = {
+                    'updTime': int(time.time())
+                }
                 if enter_voice:
                     ucs['voice_prompt_enter'] = enter_voice