Browse Source

add to local

stanley-king 4 years atrás
parent
commit
34d9017a56
2 changed files with 3 additions and 3 deletions
  1. 1 1
      mobile/refill_bxtwt.php
  2. 2 2
      test/TestRefill.php

+ 1 - 1
mobile/refill_bxtwt.php

@@ -6,6 +6,6 @@ $content = $_SERVER['original_querystring'];
 $input = json_decode($content,true);
 
 //refill\RefillFactory::instance()->notify('bxtwt',$input);
-refill\RefillFactory::instance()->notify('beixt',$input);
+refill\RefillFactory::instance()->notify('bxtwt',$input);
 
 echo ('ok');

+ 2 - 2
test/TestRefill.php

@@ -78,8 +78,8 @@ class TestRefill extends TestCase
     {
         $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_bxtwt.php";
-//        $url = "https://www.xyzshops.cn/mobile/refill_bxtwt.php";
+//        $url = "http://192.168.1.220/mobile/refill_bxtwt.php";
+        $url = "https://www.xyzshops.cn/mobile/refill_bxtwt.php";
 
         $resp = http_post_data($url,$data);
     }