stanley-king vor 1 Jahr
Ursprung
Commit
f0fddc86ea
1 geänderte Dateien mit 17 neuen und 0 gelöschten Zeilen
  1. 17 0
      test/TestHttp.php

+ 17 - 0
test/TestHttp.php

@@ -85,4 +85,21 @@ class TestHttp extends TestCase
             [$x,$y,$z,$a] = $val;
         }
     }
+
+    public function testGoods()
+    {
+//        $params = [ 'mchid' => 10384,
+//            "op"  => "goods",
+//            'act' => 'refill'
+//        ];
+
+        //$resp = $proxy->send("https://www.xyzshops.cn/mobile/index.php", $params);
+
+        $params = [ 'mchid' => 10384,
+            "op"  => "goods",
+            'act' => 'refill'
+        ];
+        $proxy = new refill_proxy("682240597a865cfba5214a0c8477bd76");
+        $resp = $proxy->send("https://ylapi.xyzshops.cn/mobile/index.php", $params);
+    }
 }