浏览代码

yl yunling

xiaoyu 3 年之前
父节点
当前提交
977ee1ec29

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

@@ -9,8 +9,8 @@ class config
     const ORDER_URL = 'http://121.89.243.74:9086/onlinepay.do';
     const QUERY_URL= 'http://121.89.243.74:9086/searchpay.do';
     const BALANCE_URL= 'http://121.89.243.74:9086/searchbalance.do';
-    const USER_ID= '10002504';
-    const KEY = 'HdxxWScBF6aYykbB33r8S5CQcS5myYZZ';
+    const USER_ID= '10003484';
+    const KEY = 'fJ5m4k5HKQAZTfPErHfYDNQHtjJSMyiy';
     const NOTIFY_URL = BASE_SITE_URL . "/mobile/refill_yunling.php";
     const operator = [
         mtopcard\ChinaMobileCard  => 'yd',

二进制
helper/refill/api/yl/yunling/代理接口话费充值文档1.0.6(2020).doc


+ 4 - 4
helper/refill/api/yl/yunling/新系椰子通代理信息.txt

@@ -1,13 +1,13 @@
 代理平台:
 代理登录地址:http://121.89.243.74:7080/login.jsp
-登录账号:yezi
-登录密码:yezi123
+登录账号:椰林
+登录密码:yelin123456
 
 
 
 接口使用:
-用户编号(userid):10002504
-秘钥(key):HdxxWScBF6aYykbB33r8S5CQcS5myYZZ
+用户编号(userid):10003484
+秘钥(key):fJ5m4k5HKQAZTfPErHfYDNQHtjJSMyiy
 余额查询地址:http://121.89.243.74:9086/searchbalance.do
 接口充值地址:http://121.89.243.74:9086/onlinepay.do
 主动查单地址:http://121.89.243.74:9086/searchpay.do

+ 0 - 9
helper/refill/api/yl/yunling/账户信息.txt

@@ -1,9 +0,0 @@
-http://39.101.180.197:8178  代理系统
-登陆名:yezi
-ID:10073505
-秘钥:FA302267C7EC5E3840264E6044E48CD1
-密码:yezi131419
-
-余额查询接口:http://39.101.180.197:8177/soft/searchbalance.do
-充值请求接口:http://39.101.180.197:8177/soft/onlinepay.do
-订单查询接口:http://39.101.180.197:8177/soft/searchpay.do

+ 14 - 0
test/TestRefillYl.php

@@ -249,4 +249,18 @@ class TestRefillYl extends TestCase
         $ret = $provider->verify($params);
         $resp = $provider->notify($params);
     }
+
+    public function testYunlingPhone()
+    {
+//        $provider = $this->getProvider('yunling');
+//        $resp = $provider->balance();
+//        $resp = $provider->add(18074608795, 6, 30, ['order_sn' => $this->make_sn()]);
+//        $resp = $provider->query(['order_sn' => '77231648538773326953']);
+
+        $body = '{"orderid":"LJQ22032915260029217","sporderid":"77231648538773326953","userid":"10003484","merchantsubmittime":"20220329152917","resultno":"9","parvalue":"30","remark1":"","payno":"","fundbalance":"-28.59","sign":"1CE276A68364C8B340B171EDB4A1383B"}';
+        $params = json_decode($body, true);
+        $provider = $this->getProvider('yunling', 'RefillCallBack');
+        $ret = $provider->verify($params);
+        $resp = $provider->notify($params);
+    }
 }