Procházet zdrojové kódy

完善低电量推送接口2

locky před 3 roky
rodič
revize
a66d23029d
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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: