浏览代码

yl yiqian

xiaoyu 3 年之前
父节点
当前提交
bbcd664972

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

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

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

@@ -9,8 +9,8 @@ class config
     const QUERY_URL = 'http://118.31.46.58:8080/api/queryOrder';
     const BALANCE_URL = 'http://118.31.46.58:8080/api/queryBalance';
 
-    const MCH_ID = 'M00221';
-    const KEY = '0xHGoi3X6d78ZGfeai0UmgtTjghoqowg';
+    const MCH_ID = 'M00319';
+    const KEY = '1P2pdDR0mqufyP3Ce5qq4Nu7FEpxi92U';
     const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yiqian.php";
     const operator = [
         mtopcard\ChinaMobileCard => '移动',

+ 3 - 3
helper/refill/api/yl/yiqian/对接文档.txt

@@ -1,6 +1,6 @@
-商户号:M00221
-登陆密码 :a7eZ3w5D
-MD5KEY :0xHGoi3X6d78ZGfeai0UmgtTjghoqowg
+商户号:M00319
+登陆密码 :ftBHndph
+MD5KEY :1P2pdDR0mqufyP3Ce5qq4Nu7FEpxi92U
 接口文档地址http://118.31.46.58:8080/doc/api.html
 生产服务器地址 http://118.31.46.58:8080/
 客户后台地址: http://47.114.180.82:7777/#

+ 6 - 0
test/TestRefillYl.php

@@ -507,4 +507,10 @@ class TestRefillYl extends TestCase
         $provider = $this->getProvider('miaoxt_fs');
         $resp = $provider->balance();
     }
+
+    public function testYiqian()
+    {
+        $provider = $this->getProvider('yiqian');
+        $resp = $provider->balance();
+    }
 }