Explorar o código

cangxin cangxin_high update api_url

xiaoyu %!s(int64=3) %!d(string=hai) anos
pai
achega
89868a3c4a

+ 3 - 3
helper/refill/api/xyz/cangxin/config.php

@@ -6,9 +6,9 @@ namespace refill\cangxin;
 use mtopcard;
 class config
 {
-    const ORDER_URL = 'https://api.huishoubaidu.com/order/submit';
-    const QUERY_URL = 'https://api.huishoubaidu.com/order/query';
-    const BALANCE_URL = 'https://api.huishoubaidu.com/order/balance';
+    const ORDER_URL = 'http://47.98.184.74:9527/order/submit';
+    const QUERY_URL = 'http://47.98.184.74:9527/order/query';
+    const BALANCE_URL = 'http://47.98.184.74:9527/order/balance';
 
     const clientId = '10025';
     const Key = 'GeuVXsmZVhPwkqNLaL9THdAk2j5x3mJh';

+ 3 - 3
helper/refill/api/xyz/cangxin_high/config.php

@@ -6,9 +6,9 @@ namespace refill\cangxin_high;
 use mtopcard;
 class config
 {
-    const ORDER_URL = 'https://api.huishoubaidu.com/order/submit';
-    const QUERY_URL = 'https://api.huishoubaidu.com/order/query';
-    const BALANCE_URL = 'https://api.huishoubaidu.com/order/balance';
+    const ORDER_URL = 'http://47.98.184.74:9527/order/submit';
+    const QUERY_URL = 'http://47.98.184.74:9527/order/query';
+    const BALANCE_URL = 'http://47.98.184.74:9527/order/balance';
 
     const clientId = '10020';
     const Key = 'DUAhOAfjyHwEK2x4tuWRfaKsq6QwY8s1';

+ 2 - 2
test/TestRefill.php

@@ -1658,10 +1658,10 @@ class TestRefill extends TestCase
 
     public function testCangxin()
     {
-//        $provider = $this->getProvider('cangxin');
+        $provider = $this->getProvider('cangxin');
 //        $resp = $provider->balance();
 //        $resp = $provider->add(13699279618, mtopcard\ChinaMobileCard, 100, ['order_sn' => $this->make_sn()]);
-//        $resp = $provider->query(['order_sn' => '66891640922736203952']);
+        $resp = $provider->query(['order_sn' => '7388320697632252006499']);
 
 //        $body = '{"sysOrderNo":"R16409227448286K55VRJ","clientId":"10025","verifyString":"557363563501c97e9aa2f5cecc0b3679","clientOrderNo":"66891640922736203952","status":"3"}';
 //        $params = json_decode($body, true);