فهرست منبع

测试 极光推送

chenjunkai 6 سال پیش
والد
کامیت
606bb4a082
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      Controller/Test.py

+ 3 - 0
Controller/Test.py

@@ -37,6 +37,9 @@ class Test(View):
         # return JsonResponse(status=200,data={
         #         'code': 173,
         #         'msg': 'data is not exist'})
+        test_push_type = request_dict.get('test_push_type')
+        if test_push_type == 'jpush':
+            return self.jgPush(request_dict)
         return self.do_fcm_push(request)
         return self.do_gcm_push(request)
         return self.do_alipay_query_status()