|
@@ -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);
|
|
|
+ }
|
|
|
}
|