pengzhibo168 hace 5 años
padre
commit
17b0b78b84
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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