Просмотр исходного кода

Merge branch 'rmaster' of 39.97.239.116:gyfl/xyzshop into rmaster

ayHaru 4 лет назад
Родитель
Сommit
a2df1b08d4
3 измененных файлов с 6 добавлено и 4 удалено
  1. 1 1
      helper/fcgisrv/MobileServer.php
  2. 2 2
      helper/refill/policy/xyz/policy.php
  3. 3 1
      rdispatcher/proxy.php

+ 1 - 1
helper/fcgisrv/MobileServer.php

@@ -56,7 +56,7 @@ class MobileServer extends BaseServer
             'refill_zzx.php','refill_inner.php','refill_jiec.php','refill_yifa.php',
             'bridge_shr.php','refill_weit.php','refill_afand.php','refill_afandeng.php',
             'refill_afandnew.php','refill_lingzh.php','refill_lingzhdl.php','refill_tongy.php',
-            'refill_weiyi.php'
+            'refill_weiyi.php','refill_tonglu.php'
         ];
 
         $this->setExFiles($exfiles);

+ 2 - 2
helper/refill/policy/xyz/policy.php

@@ -9,10 +9,10 @@ use StatesHelper;
 
 class policy extends ProviderManager implements IPolicy
 {
-    const normal_times = 60;
+    const normal_times = 3;
     const normle_time_out = 900;
 
-    const high_times = 5;
+    const high_times = 3;
     const high_time_out = 60;
 
     protected $mChannelControl;

+ 3 - 1
rdispatcher/proxy.php

@@ -51,7 +51,9 @@ class proxy
                     $fNotify = false;
                     $params['order_id'] = $order_id;
                     refill\util::push_add($params);
-                    $refill_order->edit($order_id, ['is_retrying' => 1]);
+                    if($order_id > 0) {
+                        $refill_order->edit($order_id, ['is_retrying' => 1]);
+                    }
                 }
             }