瀏覽代碼

云天话费,云天分省 调整账号

赵明 1 年之前
父節點
當前提交
790497acc9

+ 2 - 2
helper/refill/api/yl/yuntian/config.php

@@ -11,8 +11,8 @@ class config
     const BALANCE_URL = 'http://47.108.209.201/flow-receiver/api/balance/feecbk';
     const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/refill_yuntian.php';
 
-    const ACCOUNT = 'ytylqg';
-    const KEY = '2da8b4eaa8e7488194c810cf243d44c8';
+    const ACCOUNT = 'ytnhyzqg';
+    const KEY = '77df0d26915f4894b0b7f4ef28090ff3';
     const operator = [
         mtopcard\ChinaMobileCard  => 'CMCC',
         mtopcard\ChinaUnicomCard  => 'CUCC',

+ 2 - 2
helper/refill/api/yl/yuntian/椰林.txt

@@ -1,7 +1,7 @@
 
-账号:ytylqg
+账号:ytnhyzqg
 
-密钥:2da8b4eaa8e7488194c810cf243d44c8
+密钥:77df0d26915f4894b0b7f4ef28090ff3
 
 
 下单地址

+ 2 - 2
helper/refill/api/yl/yuntian_fs/config.php

@@ -11,8 +11,8 @@ class config
     const BALANCE_URL = 'http://47.108.209.201/flow-receiver/api/balance/feecbk';
     const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/refill_yuntian_fs.php';
 
-    const ACCOUNT = 'ytylfs';
-    const KEY = '38552603820a48ae9a89a600e9a825b0';
+    const ACCOUNT = 'ytnhyzfs';
+    const KEY = 'e5fff087ab3e4e7cbb6255d6dacb981d';
     const operator = [
         mtopcard\ChinaMobileCard  => 'CMCC',
         mtopcard\ChinaUnicomCard  => 'CUCC',

+ 2 - 2
helper/refill/api/yl/yuntian_fs/椰林.txt

@@ -1,7 +1,7 @@
 
-账号:ytylfs
+账号:ytnhyzfs
 
-密钥:38552603820a48ae9a89a600e9a825b0
+密钥:e5fff087ab3e4e7cbb6255d6dacb981d
 
 
 下单地址

+ 8 - 6
test/TestRefill.php

@@ -3545,14 +3545,16 @@ class TestRefill extends TestCase
     {
 //        $provider = $this->getProvider('yuntian');
 //        $resp = $provider->balance();
-//        $resp = $provider->add(15811535608, 4, 30, ['order_sn' => $this->make_sn(), 'regin_no' => 1]);
+        $provider = $this->getProvider('yuntian_fs');
+//        $resp = $provider->balance();
+        $resp = $provider->add(15811535608, 4, 30, ['order_sn' => $this->make_sn(), 'regin_no' => 1]);
 //        $resp = $provider->query(['order_sn' => '89151688372671258257']);
 
-        $body = '{"status":"019","orderNo":"F2307031624355807256","consumerNo":"89151688372671258257","mobile":"15811535608","voucherNo":"null","account":"ytyzqg","timestamp":"1688372676004","sign":"b9b3e1643052fb4d2162d20311ec140f57790384"}';
-        $params = json_decode($body, true);
-        $provider = $this->getProvider('yuntian','RefillCallBack');
-        $ret = $provider->verify($params);
-        $resp = $provider->notify($params);
+//        $body = '{"status":"019","orderNo":"F2307031624355807256","consumerNo":"89151688372671258257","mobile":"15811535608","voucherNo":"null","account":"ytyzqg","timestamp":"1688372676004","sign":"b9b3e1643052fb4d2162d20311ec140f57790384"}';
+//        $params = json_decode($body, true);
+//        $provider = $this->getProvider('yuntian','RefillCallBack');
+//        $ret = $provider->verify($params);
+//        $resp = $provider->notify($params);
     }
 
     public function testKainuo()