浏览代码

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

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