haru haru 2 éve
szülő
commit
b16446921a

+ 2 - 2
helper/refill/api/xyz/sinopec/RefillCallBack.php

@@ -1,7 +1,7 @@
 <?php
-namespace refill\sinopec;
+namespace refill\gdsinopec;
 
-require_once(BASE_HELPER_RAPI_PATH . '/sinopec/config.php');
+require_once(BASE_HELPER_RAPI_PATH . '/gdsinopec/config.php');
 use Log;
 use refill;
 class RefillCallBack implements refill\IRefillCallBack

+ 2 - 2
helper/refill/api/xyz/sinopec/RefillOil.php

@@ -1,8 +1,8 @@
 <?php
 
-namespace refill\sinopec;
+namespace refill\gdsinopec;
 
-require_once(BASE_HELPER_RAPI_PATH . '/sinopec/config.php');
+require_once(BASE_HELPER_RAPI_PATH . '/gdsinopec/config.php');
 
 use refill;
 use Log;

+ 1 - 1
helper/refill/api/xyz/sinopec/config.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace refill\sinopec;
+namespace refill\gdsinopec;
 
 class config
 {

helper/refill/api/xyz/sinopec/中石化电子加油券接口文档Rev1.0.docx → helper/refill/api/xyz/gdsinopec/中石化电子加油券接口文档Rev1.0.docx


helper/refill/api/xyz/sinopec/开户信息.txt → helper/refill/api/xyz/gdsinopec/开户信息.txt


+ 2 - 2
test/TestRefill.php

@@ -2305,9 +2305,9 @@ class TestRefill extends TestCase
 
     }
 
-    public function testSinopec()
+    public function testGdsinopec()
     {
-        $provider = $this->getProvider('sinopec','RefillOil');
+        $provider = $this->getProvider('gdsinopec','RefillOil');
 //        [$state, $access_token] = $provider->get_access_token();
         $access_token = '039957e4b8224ecba34def77cefde8f7';
         $supplier_origin = 100;