Ver código fonte

完善低电量推送接口2

locky 3 anos atrás
pai
commit
a66d23029d
1 arquivos alterados com 2 adições e 2 exclusões
  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: