浏览代码

完善低电量推送接口2

locky 3 年之前
父节点
当前提交
a66d23029d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Controller/DetectControllerV2.py

+ 2 - 2
Controller/DetectControllerV2.py

@@ -323,7 +323,7 @@ class NotificationView(View):
         etype = int(event_type)
         if lang == 'cn':
             if etype == 704:
-                msg_type = '电量过低'
+                msg_type = '电量过低,剩余电量:'
             elif etype == 702:
                 msg_type = '摄像头休眠'
             elif etype == 703:
@@ -667,7 +667,7 @@ class PushNotificationView(View):
         etype = int(event_type)
         if lang == 'cn':
             if etype == 704:
-                msg_type = '电量过低'
+                msg_type = '电量过低,剩余电量:'
             elif etype == 702:
                 msg_type = '摄像头休眠'
             elif etype == 703: