Browse Source

ios app push

tiams@foxmail.com 9 years ago
parent
commit
e606474eb1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      admin/language/zh_cn/cache.php
  2. 1 1
      helper/push_app.php

+ 1 - 1
admin/language/zh_cn/cache.php

@@ -1,7 +1,7 @@
 <?php
 defined('InShopNC') or exit('Access Invalid!');
 /**
- * 
+ *
  */
 $lang['cache_cls_operate']		= '清理缓存';
 $lang['cache_cls_all']			= '全部';

+ 1 - 1
helper/push_app.php

@@ -61,7 +61,7 @@ class push_app
             $customizedcast->setPredefinedKeyValue("badge", 0);
             $customizedcast->setPredefinedKeyValue("sound", "chime");
             // Set 'production_mode' to 'true' if your app is under production mode
-            $customizedcast->setPredefinedKeyValue("production_mode", "false");
+            $customizedcast->setPredefinedKeyValue("production_mode", "true");
             //Set extra fields
             $customizedcast->setCustomizedField("go_type", $pushinfo['go_type']);