Explorar el Código

yuanta update

xiaoyu hace 3 años
padre
commit
bee5200e61

+ 13 - 13
helper/refill/api/xyz/yuanta/api.txt

@@ -1,13 +1,13 @@
-下单地址:http://59.110.225.82:10186/plat/api/old/submitorder
-
-查询地址:http://59.110.225.82:10186/plat/api/old/queryorder
-
-余额地址:http://59.110.225.82:10186/plat/api/old/queryBalance
-
-
-ID:200029
-秘钥:15536053107
-对接文档地址:https://docs.qq.com/doc/DWkV1VkxQVk13eEtQ
-账户;yezi
-密码;123456
-后台地址;http://59.110.225.82:10186/plat/index
+后台地址:http://59.110.225.82:8888
+帐号:yezi
+密码:377274
+二级密码:yIOp3278
+appId:Uar9JIo4Zz
+appSecret:qXRRTTqrtAwwwtXp
+后台-商品列表,可查看已配置商品信息
+后台-安全中心,可配置IP白名单
+接口文档:https://www.showdoc.com.cn/1686453783298366/7925312871840290
+下单接口地址:http://59.110.225.82:8911/api/hf/order/submit
+查单接口地址:http://59.110.225.82:8911/api/order/query
+余额接口地址:http://59.110.225.82:8911/api/account/balance
+提卡接口地址:http://59.110.225.82:8911/api/card/get

+ 2 - 1
helper/refill/api/xyz/zhutian/config.php

@@ -12,7 +12,8 @@ class config
 
     const PARTNER_ID = '7';
     const KEY = '6745186d69d54fd0a10c52f9ba64220c';
-    const NOTIFY_URL =  BASE_SITE_URL."/mobile/callback/refill_zhutian.php";
+//    const NOTIFY_URL =  BASE_SITE_URL."/mobile/callback/refill_zhutian.php";
+    const NOTIFY_URL = "https://www.xyzshops.cn/mobile/signature.php";
     const ExtHeaders = ['Content-Type: application/x-www-form-urlencoded'];
 
     //系统省份编号 -> 铸天电费省份编号 转换表

BIN
helper/refill/api/xyz/zhutian/新电费.docx


+ 7 - 0
test/TestRefill.php

@@ -1769,6 +1769,13 @@ class TestRefill extends TestCase
         $resp = $provider->notify($params);
     }
 
+    public function testZhutian()
+    {
+        $provider = $this->getProvider('zhutian');
+        $resp = $provider->add(1004638637, 4, 50, ['order_sn' => $this->make_sn(), 'province' => 1]);
+//        $resp = $provider->query(['order_sn' => '20661644895674724153']);
+    }
+
     public function testAmingjd()
     {
 //        $provider = new refill\amingjd\RefillPhone([]);