Explorar o código

add refill_bxtwt to exclude files

stanley-king %!s(int64=4) %!d(string=hai) anos
pai
achega
db99e3412d
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  1. 1 1
      helper/fcgi_server.php
  2. 3 1
      test/TestRefill.php

+ 1 - 1
helper/fcgi_server.php

@@ -28,7 +28,7 @@ class fcgi_server
             'wxnotify.php','pub_wxnotify.php','alipay_notify_url.php','dispatch_notify.php','kdniao_notify.php',
             'cmbpay_notify.php','cmbpay_sign.php','wxauthor.php','api/wxLogin/index.php','api/wxLogin/callback.php',
             'signature.php',
-            'refill_suhc.php','refill_beixt.php'
+            'refill_suhc.php','refill_beixt.php','refill_bxtwt.php'
         ];
         $path = BASE_ROOT_PATH . '/mobile/';
         $file = str_replace($path,'',$file);

+ 3 - 1
test/TestRefill.php

@@ -77,7 +77,9 @@ class TestRefill extends TestCase
     public function testBeixtVerify()
     {
         $data = '{"order_number":17179442,"shipping_status":1,"shipping_status_desc":"已发货","shipping_status_message":"","sign":"4d0d9e22410407a3ef374f70fdbc0425","voucher":"501324954073664276","vouchertype":"","voucherurl":"","tradeNo":"780661942259568741"}';
-        $url = "http://192.168.1.220/mobile/refill_beixt.php";
+//        $url = "http://192.168.1.220/mobile/refill_beixt.php";
+        $url = "https://www.xyzshops.cn/mobile/refill_bxtwt.php";
+
         $resp = http_post_data($url,$data);
     }