From 76700a52801fa12802e6aa75aed27b4a620aed61 Mon Sep 17 00:00:00 2001 From: xiaoC Date: Thu, 28 Nov 2019 14:28:42 +0800 Subject: [PATCH] Update push.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决切换ios测试环境无效的问题 --- mob/push.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mob/push.py b/mob/push.py index e9c0296..bbb5e43 100644 --- a/mob/push.py +++ b/mob/push.py @@ -80,6 +80,8 @@ def buildExtra(self, unlineTime=1, extras=None, iosProduction=1, scheme=None, panel['scheme'] = scheme if data is not None: panel['data'] = data + if iosProduction is not None: + panel['iosProduction'] = iosProduction return panel # 设置推送范围