浏览代码

yl tianchen tianchenfs

xiaoyu 3 年之前
父节点
当前提交
103094f4dd

+ 2 - 2
data/config/yl/refill.ini.php

@@ -5421,9 +5421,9 @@ $phone_providers = [
     ['name' => 'huoshenguo_high', 'cfg' => $huoshenguo_high_phone],
     ['name' => 'chizeng_normal', 'cfg' => $chizeng_normal_phone],
     ['name' => 'xinhengyangnew', 'cfg' => $xinhengyangnew_phone],
-//    ['name' => 'tianchen', 'cfg' => $tianchen_phone],
+    ['name' => 'tianchen', 'cfg' => $tianchen_phone],
 //    ['name' => 'yunchonggong_lt', 'cfg' => $yunchonggong_lt_phone],
-//    ['name' => 'tianchen_fs', 'cfg' => $tianchen_fs_phone],
+    ['name' => 'tianchen_fs', 'cfg' => $tianchen_fs_phone],
     ['name' => 'ruixunda_lt', 'cfg' => $ruixunda_lt_phone],
 //    ['name' => 'ruizhi', 'cfg' => $ruizhi_phone],
 //    ['name' => 'ruierxun', 'cfg' => $ruierxun_phone],

+ 3 - 3
helper/refill/api/yl/tianchen/API信息.txt

@@ -1,7 +1,7 @@
-ID:100125
-账号:TCQGyezi
+ID:100157
+账号:TCyelinqg
 密码:123456
-秘钥:43f70950bcb34f5595d020890fc37c28
+秘钥:2ffd248a03d64e3b91343decf20729e4
 地址:http://47.114.98.104:10081/plat/index
 
 话费下单地址:http://47.114.98.104:10081/plat/api/px/submit

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

@@ -10,8 +10,8 @@ class config
     const QUERY_URL = 'http://47.114.98.104:10081/plat/api/px/query';
     const BALANCE_URL = 'http://47.114.98.104:10081/plat/api/px/balance';
 
-    const MCHID = '100125';
-    const KEY = '43f70950bcb34f5595d020890fc37c28';
+    const MCHID = '100157';
+    const KEY = '2ffd248a03d64e3b91343decf20729e4';
     const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_tianchen.php";
     const operator = [
         mtopcard\ChinaMobileCard => 1,

+ 3 - 3
helper/refill/api/yl/tianchen_fs/API信息.txt

@@ -1,7 +1,7 @@
-ID:100126
-账号:TCFSyezi
+ID:100156
+账号:TCyelin
 密码:123456
-秘钥:35941f02ca474a3f9d542f5ccccb9747
+秘钥:0ac4da6d5f0642f788054d68ca62f513
 地址:http://47.114.98.104:10081/plat/index
 
 话费下单地址:http://47.114.98.104:10081/plat/api/px/submit

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

@@ -10,8 +10,8 @@ class config
     const QUERY_URL = 'http://47.114.98.104:10081/plat/api/px/query';
     const BALANCE_URL = 'http://47.114.98.104:10081/plat/api/px/balance';
 
-    const MCHID = '100126';
-    const KEY = '35941f02ca474a3f9d542f5ccccb9747';
+    const MCHID = '100156';
+    const KEY = '0ac4da6d5f0642f788054d68ca62f513';
     const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_tianchen_fs.php";
     const operator = [
         mtopcard\ChinaMobileCard => 1,

+ 12 - 0
test/TestRefillYl.php

@@ -459,4 +459,16 @@ class TestRefillYl extends TestCase
         $provider = $this->getProvider('yunsuoyaofs');
         $resp = $provider->balance();
     }
+
+    public function testTianchen()
+    {
+        $provider = $this->getProvider('tianchen');
+        $resp = $provider->balance();
+    }
+
+    public function testTianchen_fs()
+    {
+        $provider = $this->getProvider('tianchen_fs');
+        $resp = $provider->balance();
+    }
 }