stanley-king 3 lat temu
rodzic
commit
80805665c2

+ 0 - 1
helper/refill/IRefill.php

@@ -2,7 +2,6 @@
 
 
 namespace refill;
-use Composer\Package\Package;
 use mtopcard;
 
 abstract class IRefill

+ 1 - 0
helper/refill/ProviderManager.php

@@ -7,6 +7,7 @@ require_once(BASE_HELPER_PATH . '/mtopcard/mtopcard.php');
 require_once(BASE_HELPER_PATH . '/refill/IRefill.php');
 require_once(BASE_HELPER_PATH . '/refill/IRefillOil.php');
 require_once(BASE_HELPER_PATH . '/refill/IRefillPhone.php');
+require_once(BASE_HELPER_PATH . '/refill/IRefillThird.php');
 require_once(BASE_HELPER_PATH . '/refill/IRefillCallBack.php');
 require_once(BASE_HELPER_PATH . '/refill/CalcMerchantPrice.php');
 require_once(BASE_HELPER_PATH . '/refill/util.php');

+ 1 - 0
helper/refill/RefillBase.php

@@ -7,6 +7,7 @@ require_once(BASE_HELPER_PATH . '/mtopcard/mtopcard.php');
 require_once(BASE_HELPER_PATH . '/refill/IRefill.php');
 require_once(BASE_HELPER_PATH . '/refill/IRefillOil.php');
 require_once(BASE_HELPER_PATH . '/refill/IRefillPhone.php');
+require_once(BASE_HELPER_PATH . '/refill/IRefillThird.php');
 require_once(BASE_HELPER_PATH . '/refill/IRefillCallBack.php');
 require_once(BASE_HELPER_PATH . '/refill/ProviderManager.php');
 require_once(BASE_HELPER_PATH . '/refill/CalcMerchantPrice.php');

+ 2 - 2
test/TestElectric.php

@@ -35,8 +35,8 @@ class TestElectric extends TestCase
             'order_sn' => $this->make_sn(),
             'notifyurl' => 'https://test.xyzshops.cn' . '/mobile/innercb.php',
             'cardno' => '1004638637',
-            'amount' => 100,
-            'company_type' => 'south',
+            'amount' => 50,
+            'company_type' => 'nation',
             'use_type' => 'home',
             'card_id' => '051818',
             'province' => 1