소스 검색

add inc file

stanley-king 3 년 전
부모
커밋
80805665c2
4개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 1
      helper/refill/IRefill.php
  2. 1 0
      helper/refill/ProviderManager.php
  3. 1 0
      helper/refill/RefillBase.php
  4. 2 2
      test/TestElectric.php

+ 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