stanley-king 3 năm trước cách đây
mục cha
commit
576225518e
3 tập tin đã thay đổi với 1466 bổ sung21 xóa
  1. 1464 18
      data/config/dev/refill.ini.php
  2. 0 1
      helper/refill/RefillBase.php
  3. 2 2
      test/TestRefillThird.php

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1464 - 18
data/config/dev/refill.ini.php


+ 0 - 1
helper/refill/RefillBase.php

@@ -306,7 +306,6 @@ class RefillBase
         try
         {
             $minfo = new member_info($buyer_id);
-
             if(PolicyUtil::mixed_quality($org_quality)) {
                 $calc = new CalcMerchantPrice($mchid, $amount, $card_type,$org_quality,$this->mPolicy,$third_params);
             }

+ 2 - 2
test/TestRefillThird.php

@@ -102,7 +102,7 @@ class TestRefillThird extends TestCase
             'buyer_id' => $member_id,
             'amount' => 30,
             'mch_order' => "{$time}" . sprintf("%'010d",$index),
-            'org_quality' => 1,
+            'org_quality' => 13,
             'card_no' => '13911129867'
         ];
         $ret = refill\util::push_add($params);
@@ -113,7 +113,7 @@ class TestRefillThird extends TestCase
         $time = time();
         Log::record("push message start:{$time}",Log::DEBUG);
 
-        for ($i = 0; $i < 100000; $i++)
+        for ($i = 0; $i < 10; $i++)
         {
             $this->push_order(1092,60221,$time,$i);
 //            $this->push_order(1093,65771,$time,$i);