Browse Source

yl ningying ningying_normal

xiaoyu 3 years ago
parent
commit
ec4e850fe5

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

@@ -10,8 +10,8 @@ class config
     const QUERY_URL = 'http://47.97.218.21:8911/api/order/query';
     const BALANCE_URL = 'http://47.97.218.21:8911/api/account/balance';
 
-    const APP_ID = 'O8y6eOzWY1';
-    const APP_SECRET = 'qkTxoSgYBBXZDjYy';
+    const APP_ID = 'QSQAlR3TB3';
+    const APP_SECRET = 'jGwQDyblFDlEqOmh';
     const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_ningying.php";
     const PRODUCT = [
         mtopcard\ChinaMobileCard => [

+ 5 - 5
helper/refill/api/yl/ningying/开户信息.txt

@@ -1,9 +1,9 @@
 后台地址:http://47.97.218.21:8888
-帐号:椰子
-密码:398381
-二级密码:RovB4678
-appId:O8y6eOzWY1
-appSecret:qkTxoSgYBBXZDjYy
+帐号:高价椰林
+密码:361548
+二级密码:oOgq3168
+appId:QSQAlR3TB3
+appSecret:jGwQDyblFDlEqOmh
 后台-商品列表,可查看已配置商品信息
 后台-安全中心,可配置IP白名单
 接口文档:https://www.showdoc.com.cn/1686453783298366/7925312871840290

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

@@ -10,8 +10,8 @@ class config
     const QUERY_URL = 'http://47.97.218.21:8911/api/order/query';
     const BALANCE_URL = 'http://47.97.218.21:8911/api/account/balance';
 
-    const APP_ID = 'wxhhe5zZhM';
-    const APP_SECRET = 'WoGltJxxUHPCEzom';
+    const APP_ID = 'DFwefjmtge';
+    const APP_SECRET = 'QbXslELhRFgmwVgl';
     const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_ningying_normal.php";
     const PRODUCT = [
         mtopcard\ChinaMobileCard => [

+ 5 - 5
helper/refill/api/yl/ningying_normal/开户信息.txt

@@ -1,9 +1,9 @@
 后台地址:http://47.97.218.21:8888
-帐号:低价椰
-密码:224892
-二级密码:YNlf8961
-appId:wxhhe5zZhM
-appSecret:WoGltJxxUHPCEzom
+帐号:低价椰
+密码:806254
+二级密码:jLvp4018
+appId:DFwefjmtge
+appSecret:QbXslELhRFgmwVgl
 后台-商品列表,可查看已配置商品信息
 后台-安全中心,可配置IP白名单
 接口文档:https://www.showdoc.com.cn/1686453783298366/7925312871840290

+ 12 - 0
test/TestRefillYl.php

@@ -423,4 +423,16 @@ class TestRefillYl extends TestCase
         $provider = $this->getProvider('feimingyunew');
         $resp = $provider->balance();
     }
+
+    public function testNingying()
+    {
+        $provider = $this->getProvider('ningying');
+        $resp = $provider->balance();
+    }
+
+    public function testNingying_normal()
+    {
+        $provider = $this->getProvider('ningying_normal');
+        $resp = $provider->balance();
+    }
 }