Browse Source

yl yinghuochong

xiaoyu 3 years ago
parent
commit
637586e0a3

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

@@ -5397,7 +5397,7 @@ $phone_providers = [
 //    ['name' => 'lexiangdx', 'cfg' => $lexiangdx_phone],
     ['name' => 'guantu', 'cfg' => $guantu_phone],
 //    ['name' => 'yiqian', 'cfg' => $yiqian_phone],
-//    ['name' => 'yinghuochong', 'cfg' => $yinghuochong_phone],
+    ['name' => 'yinghuochong', 'cfg' => $yinghuochong_phone],
 //    ['name' => 'meixu', 'cfg' => $meixu_phone],
 //    ['name' => 'fuyuan', 'cfg' => $fuyuan_phone],
     ['name' => 'dongye', 'cfg' => $dongye_phone],

+ 3 - 3
helper/refill/api/yl/yinghuochong/config.php

@@ -9,9 +9,9 @@ class config
     const QUERY_URL = 'http://47.96.106.104:9100/recharge/phone/query';
     const BALANCE_URL = 'http://47.96.106.104:9100/customers/balance';
 
-    const Account = '15811535608';
-    const AppSecret = 'Q6AE5AD6A8DB14FF2AC35F5094D98A196Y';
-    const QYKey = 'qhsvsyvj9rsekyvadlctr1ptx135fb3t';
+    const Account = '18510683168';
+    const AppSecret = 'Q0E324AC023C44578BAD371B1B00B8BEBY';
+    const QYKey = 'baqg8sqnybebmyuaxugpmen3p0sferer';
     const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yinghuochong.php";
     const operator = [
         mtopcard\ChinaMobileCard => '移动',

+ 4 - 4
helper/refill/api/yl/yinghuochong/对接文档.txt

@@ -1,7 +1,7 @@
 萤火虫
 地址:http://47.96.106.104:9000/customer/login.jsp
-账号:15811535608
-密码:Qy5608
-appSecret:Q6AE5AD6A8DB14FF2AC35F5094D98A196Y
-qykey:qhsvsyvj9rsekyvadlctr1ptx135fb3t
+账号:18510683168
+密码:Qy3168
+appSecret:Q0E324AC023C44578BAD371B1B00B8BEBY
+qykey:客户端平台获取
 注:IP地址和回调地址可客户端自行绑定

+ 6 - 0
test/TestRefillYl.php

@@ -489,4 +489,10 @@ class TestRefillYl extends TestCase
         $provider = $this->getProvider('dongyefs');
         $resp = $provider->balance();
     }
+
+    public function testYinghuochong()
+    {
+        $provider = $this->getProvider('yinghuochong');
+        $resp = $provider->balance();
+    }
 }