|
@@ -513,6 +513,7 @@ class TestRefillYl extends TestCase
|
|
|
$provider = $this->getProvider('yiqian');
|
|
|
$resp = $provider->balance();
|
|
|
}
|
|
|
+
|
|
|
public function testWenye()
|
|
|
{
|
|
|
// $provider = $this->getProvider('wenye');
|
|
@@ -527,4 +528,17 @@ class TestRefillYl extends TestCase
|
|
|
$data = $provider->notify($params);
|
|
|
}
|
|
|
|
|
|
+ public function testJinfeng()
|
|
|
+ {
|
|
|
+// $provider = $this->getProvider('jinfeng');
|
|
|
+// $resp = $provider->balance();
|
|
|
+// $resp = $provider->add(18500608333, 5, 30, ['order_sn' => $this->make_sn()]);
|
|
|
+// $resp = $provider->query(['order_sn' => '63601649383025688678']);
|
|
|
+
|
|
|
+ $body = '{"orderNo":"F2204080957259120259","status":"003","consumerNo":"63601649383025688678","voucherNo":"","mobile":"18500608333"}';
|
|
|
+ $params = json_decode($body, true);
|
|
|
+ $provider = $this->getProvider('jinfeng', 'RefillCallBack');
|
|
|
+ $ret = $provider->verify($params);
|
|
|
+ $data = $provider->notify($params);
|
|
|
+ }
|
|
|
}
|