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)