Browse Source

xyz yl ruixunda update account api_url

xiaoyu 2 năm trước cách đây
mục cha
commit
2454a1e035

+ 23 - 22
helper/refill/api/xyz/ruixunda/config.php

@@ -6,36 +6,37 @@ namespace refill\ruixunda;
 use mtopcard;
 class config
 {
-    const ORDER_URL = 'http://120.76.172.131:8911/api/hf/order/submit';
-    const QUERY_URL = 'http://120.76.172.131:8911/api/order/query';
-    const BALANCE_URL = 'http://120.76.172.131:8911/api/account/balance';
+    const ORDER_URL = 'http://47.98.117.207:8911/api/hf/order/submit';
+    const QUERY_URL = 'http://47.98.117.207:8911/api/order/query';
+    const BALANCE_URL = 'http://47.98.117.207:8911/api/account/balance';
 
-    const APP_ID = 'kU6tn6YMjx';
-    const APP_SECRET = 'UTzLpEOYVTPcCmwW';
+    const APP_ID = 'HopCzvajlL';
+    const APP_SECRET = 'iLDpqQtdzhOaaNms';
     const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_ruixunda.php";
     const PRODUCT = [
         mtopcard\ChinaMobileCard => [
-            30  => 100001,
-            50  => 100002,
-            100 => 100003,
-            200 => 100004,
-            300 => 100005,
-            500 => 100006,
+            30  => 7,
+            50  => 8,
+            100 => 9,
+            200 => 10,
+            300 => 11,
+            500 => 12,
         ],
         mtopcard\ChinaUnicomCard => [
-            30  => 100007,
-            50  => 100008,
-            100 => 100009,
-            200 => 100010,
-            300 => 100011,
-            500 => 100012,
+            30  => 13,
+            50  => 14,
+            100 => 15,
+            200 => 16,
+            300 => 17,
+            500 => 18,
         ],
         mtopcard\ChinaTelecomCard => [
-            30  => 100013,
-            50  => 100014,
-            100 => 100015,
-            200 => 100016,
-            300 => 100017,
+            30  => 19,
+            50  => 20,
+            100 => 21,
+            200 => 22,
+            300 => 23,
+            500 => 24,
         ],
     ];
     const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];

BIN
helper/refill/api/xyz/ruixunda/云九一商品编码.docx


+ 32 - 24
helper/refill/api/xyz/ruixunda/开户信息.txt

@@ -1,29 +1,37 @@
-后台地址:http://120.76.172.131:8888
-帐号:bjyz
-密码:072751
-二级密码:IwZY0888
-appId:kU6tn6YMjx
-appSecret:UTzLpEOYVTPcCmwW
+后台地址:http://47.98.117.207:8888
+帐号:bjyz9825
+密码:430195
+appId:HopCzvajlL
+appSecret:iLDpqQtdzhOaaNms
 后台-商品列表,可查看已配置商品信息
 后台-安全中心,可配置IP白名单
 接口文档:https://www.showdoc.com.cn/1686453783298366/7925312871840290
-话费直充接口:http://120.76.172.131:8911/api/hf/order/submit
-通用直充接口:http://120.76.172.131:8911/api/order/submit
-卡密提取接口:http://120.76.172.131:8911/api/card/get
-查单接口接口:http://120.76.172.131:8911/api/order/query
-余额接口接口:http://120.76.172.131:8911/api/account/balance
+话费直充接口:http://47.98.117.207:8911/api/hf/order/submit
+通用直充接口:http://47.98.117.207:8911/api/order/submit
+卡密提取接口:http://47.98.117.207:8911/api/card/get
+查询接口接口:http://47.98.117.207:8911/api/order/query
+余额查询接口:http://47.98.117.207:8911/api/account/balance
 
-2022.2.27 更改 移动编码
-超面值移动编码
-30        100116
-50        100117
-100      100118
-200      100119
+全国移动编码
+全国移动30   7
+全国移动50   8
+全国移动100   9
+全国移动200   10
+全国移动300   11
+全国移动500   12
 
-2022.4.23
-全国移动30     100001
-全国移动50      100002
-全国移动100     100003
-全国移动200    100004
-全国移动300    100005
-全国移动500    100006
+全国联通编码
+全国联通30  13
+全国联通50  14
+全国联通100  15
+全国联通200  16
+全国联通300  17
+全国联通500  18
+
+全国电信编码
+全国电信30  19
+全国电信50  20
+全国电信100  21
+全国电信200  22
+全国电信300  23
+全国电信500  24

BIN
helper/refill/api/xyz/ruixunda/瑞讯达商品代码.docx


+ 23 - 22
helper/refill/api/yl/ruixunda/config.php

@@ -6,36 +6,37 @@ namespace refill\ruixunda;
 use mtopcard;
 class config
 {
-    const ORDER_URL = 'http://120.76.172.131:8911/api/hf/order/submit';
-    const QUERY_URL = 'http://120.76.172.131:8911/api/order/query';
-    const BALANCE_URL = 'http://120.76.172.131:8911/api/account/balance';
+    const ORDER_URL = 'http://47.98.117.207:8911/api/hf/order/submit';
+    const QUERY_URL = 'http://47.98.117.207:8911/api/order/query';
+    const BALANCE_URL = 'http://47.98.117.207:8911/api/account/balance';
 
-    const APP_ID = 'IvpY5p7PF2';
-    const APP_SECRET = 'uptqPXHeSAqUeqpV';
+    const APP_ID = 'G0sEOnF3jm';
+    const APP_SECRET = 'bbpZLlMcJChpNFgn';
     const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_ruixunda.php";
     const PRODUCT = [
         mtopcard\ChinaMobileCard => [
-            30  => 100001,
-            50  => 100002,
-            100 => 100003,
-            200 => 100004,
-            300 => 100005,
-            500 => 100006,
+            30  => 7,
+            50  => 8,
+            100 => 9,
+            200 => 10,
+            300 => 11,
+            500 => 12,
         ],
         mtopcard\ChinaUnicomCard => [
-            30  => 100007,
-            50  => 100008,
-            100 => 100009,
-            200 => 100010,
-            300 => 100011,
-            500 => 100012,
+            30  => 13,
+            50  => 14,
+            100 => 15,
+            200 => 16,
+            300 => 17,
+            500 => 18,
         ],
         mtopcard\ChinaTelecomCard => [
-            30  => 100013,
-            50  => 100014,
-            100 => 100015,
-            200 => 100016,
-            300 => 100017,
+            30  => 19,
+            50  => 20,
+            100 => 21,
+            200 => 22,
+            300 => 23,
+            500 => 24,
         ],
     ];
     const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];

BIN
helper/refill/api/yl/ruixunda/云九一商品编码.docx


+ 0 - 19
helper/refill/api/yl/ruixunda/商品编码.txt

@@ -1,19 +0,0 @@
-全国移动30     100001                11省移动30    100116
-全国移动50      100002                11省移动50    100117
-全国移动100     100003                11省移动100   100118
-全国移动200    100004                 11省移动200   100119
-全国移动300    100005
-全国移动500    100006
-
-全国联通30     100007
-全国联通50     100008
-全国联通100    100009
-全国联通200    100010
-全国联通300    100011
-全国联通500    100012
-
-全国电信30     100013            移动分省30      100018
-全国电信50     100014            移动分省50      100019
-全国电信100    100015            移动分省100     100020
-全国电信200    100016           移动分省200     100021
-全国电信300    100017            移动分省300     100022

+ 34 - 11
helper/refill/api/yl/ruixunda/开户信息.txt

@@ -1,14 +1,37 @@
-后台地址:http://120.76.172.131:8888
-帐号:yelin1
-密码:108967
-二级密码:bRyE7438
-appId:IvpY5p7PF2
-appSecret:uptqPXHeSAqUeqpV
+后台地址:http://47.98.117.207:8888
+帐号:yelin7639
+密码:386751
+appId:G0sEOnF3jm
+appSecret:bbpZLlMcJChpNFgn
 后台-商品列表,可查看已配置商品信息
 后台-安全中心,可配置IP白名单
 接口文档:https://www.showdoc.com.cn/1686453783298366/7925312871840290
-话费直充接口:http://120.76.172.131:8911/api/hf/order/submit
-通用直充接口:http://120.76.172.131:8911/api/order/submit
-卡密提取接口:http://120.76.172.131:8911/api/card/get
-查单接口接口:http://120.76.172.131:8911/api/order/query
-余额接口接口:http://120.76.172.131:8911/api/account/balance
+话费直充接口:http://47.98.117.207:8911/api/hf/order/submit
+通用直充接口:http://47.98.117.207:8911/api/order/submit
+卡密提取接口:http://47.98.117.207:8911/api/card/get
+查询接口接口:http://47.98.117.207:8911/api/order/query
+余额查询接口:http://47.98.117.207:8911/api/account/balance
+
+全国移动编码
+全国移动30   7
+全国移动50   8
+全国移动100   9
+全国移动200   10
+全国移动300   11
+全国移动500   12
+
+全国联通编码
+全国联通30  13
+全国联通50  14
+全国联通100  15
+全国联通200  16
+全国联通300  17
+全国联通500  18
+
+全国电信编码
+全国电信30  19
+全国电信50  20
+全国电信100  21
+全国电信200  22
+全国电信300  23
+全国电信500  24

+ 3 - 3
test/TestRefill.php

@@ -1574,10 +1574,10 @@ class TestRefill extends TestCase
     {
 //        $provider = $this->getProvider('ruixunda');
 //        $resp = $provider->balance();
-//        $resp = $provider->add(13699279618, 4, 50, ['order_sn' => $this->make_sn()]);
-//        $resp = $provider->query(['order_sn' => '35541639548211758246']);
+//        $resp = $provider->add(18500608333, 5, 50, ['order_sn' => $this->make_sn()]);
+//        $resp = $provider->query(['order_sn' => '39901655348760996973']);
 
-        $body = '{"orderId":"211215140335739778","appId":"kU6tn6YMjx","outOrderId":"35541639548211758246","sign":"524851b131c90398626e0e8798b73579","orderStatus":"3","completeTime":"20211215140440","orderDesc":"\u8ba2\u5355\u5931\u8d25"}';
+        $body = '{"orderId":"220616110606000008","appId":"HopCzvajlL","outOrderId":"39901655348760996973","sign":"489729b5b8b825bf9e69bdf308f224e9","orderStatus":"3","completeTime":"20220616110622","orderDesc":"\u8ba2\u5355\u5931\u8d25"}';
         $params = json_decode($body, true);
         $provider = $this->getProvider('ruixunda', 'RefillCallBack');
         $ret = $provider->verify($params);