tanghongbin 5 жил өмнө
parent
commit
6a1a937eaf

+ 2 - 0
Controller/DetectController.py

@@ -182,6 +182,8 @@ class NotificationView(View):
             token_val = up['token_val']
             lang = up['lang']
             tz = up['tz']
+            if tz is None or tz == '':
+                tz = 0
             # 发送标题
             msg_title = self.get_msg_title(appBundleId=appBundleId, nickname=nickname)
             # 发送内容