stanley-king 1 year ago
parent
commit
396352444d
2 changed files with 8 additions and 5 deletions
  1. 6 2
      helper/refill/api/xyz/by_online/config.php
  2. 2 3
      test/TestRefund.php

+ 6 - 2
helper/refill/api/xyz/by_online/config.php

@@ -7,8 +7,12 @@ class config
     const QUERY_URL = 'http://commapi.bjzykj.work/comm/orderQuery';
     const BALANCE_URL = 'http://commapi.bjzykj.work/comm/account';
 
-    const APP_ID = '7';
-    const APP_KEY = 'Hfhsej959bReF4B';
+//    const APP_ID = '7';
+//    const APP_KEY = 'Hfhsej959bReF4B';
+
+    const APP_ID = '8';
+    const APP_KEY = 'Hfkobw838p6rw7Y';
+
     const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_by_online.php";
     const ExtHeaders = ['Content-Type: application/json'];
 

+ 2 - 3
test/TestRefund.php

@@ -147,8 +147,7 @@ class TestRefund extends TestCase
 
         $provider = $getProvider('by_online');
 
-        $order_sn = '4377980738839517539298';
-//        $order_sn = '54821685230140381770';
-        [$succ, $resp] = $provider->query(['order_sn' => $order_sn, 'official_sn' => '1123053162438483']);
+        $order_sn = '0054340738786801278285';
+        [$succ, $resp] = $provider->query(['order_sn' => $order_sn, 'official_sn' => '1123053062415685']);
     }
 }