pengzhibo168 %!s(int64=5) %!d(string=hai) anos
pai
achega
17b0b78b84
Modificáronse 1 ficheiros con 1 adicións e 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