pengzhibo168 5 년 전
부모
커밋
17b0b78b84
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Controller/DetectController.py

+ 1 - 1
Controller/DetectController.py

@@ -174,7 +174,7 @@ class NotificationView(View):
             if detect_med_type == 2 or detect_med_type == 0:
                 if push_type == 0:  # ios apns
                     self.do_apns(**kwag_args)
-                    do_apnsss['do_apns'] = self.do_apns(**kwag_args)
+                    do_apnsss['do_apns'] = str(self.do_apns(**kwag_args))
                 elif push_type == 1:  # android gcm
                     self.do_fcm(**kwag_args)
                 elif push_type == 2:  # android jpush