|
@@ -1059,16 +1059,16 @@ class TestRefill extends TestCase
|
|
|
|
|
|
public function testDuojing()
|
|
|
{
|
|
|
-// $provider = $this->getProvider('duojing');
|
|
|
+ $provider = $this->getProvider('duojing');
|
|
|
// $resp = $provider->balance();
|
|
|
-// $resp = $provider->add(18500608333, 5, 50, ['order_sn' => $this->make_sn()]);
|
|
|
-// $resp = $provider->query(['order_sn' => '24731632377651122245']);
|
|
|
+ $resp = $provider->add(18500608333, 5, 50, ['order_sn' => $this->make_sn()]);
|
|
|
+// $resp = $provider->query(['order_sn' => '80511642657640305990']);
|
|
|
|
|
|
- $body = '{"appKey":"30000419","number":"56521092314142544365","orderId":"24731632377651122245","mobile":"18500608333","reason":"","amount":"50.00","actualAmount":"49.85","createdAt":"2021-09-23 14:14:25","status":"SUCCESS","sign":"8D7A526CF3F6C1279BD1819028B7683A"}';
|
|
|
- $params = json_decode($body, true);
|
|
|
- $provider = $this->getProvider('duojing','RefillCallBack');
|
|
|
- $ret = $provider->verify($params);
|
|
|
- $resp = $provider->notify($params);
|
|
|
+// $body = '{"appKey":"30000419","number":"56521092314142544365","orderId":"24731632377651122245","mobile":"18500608333","reason":"","amount":"50.00","actualAmount":"49.85","createdAt":"2021-09-23 14:14:25","status":"SUCCESS","sign":"8D7A526CF3F6C1279BD1819028B7683A"}';
|
|
|
+// $params = json_decode($body, true);
|
|
|
+// $provider = $this->getProvider('duojing','RefillCallBack');
|
|
|
+// $ret = $provider->verify($params);
|
|
|
+// $resp = $provider->notify($params);
|
|
|
}
|
|
|
|
|
|
public function testMenggu()
|