pengzhibo168 5 سال پیش
والد
کامیت
fbf715f289
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Controller/DetectController.py

+ 1 - 1
Controller/DetectController.py

@@ -368,7 +368,7 @@ class NotificationView(View):
         push.notification = jpush.notification(android=android)
         push.platform = jpush.all_
         res = push.send()
-        return res
+        return res.status_code
         try:
             res = push.send()
             print(res)