|
@@ -349,6 +349,16 @@ class TestRefill extends TestCase
|
|
|
refill\RefillFactory::instance()->notify('weishengywt', $params);
|
|
|
}
|
|
|
|
|
|
+ public function testWeishengyJDPhone()
|
|
|
+ {
|
|
|
+ $providers = new refill\weishengyjd\RefillPhone([]);
|
|
|
+// $resp = $providers->add(18500608333, 5, 50, ['order_sn' => $this->make_sn()]);
|
|
|
+// $resp = $providers->query(['order_sn' => '14261620887423822879']);
|
|
|
+ $data = '{"szOrderId":"14261620887423822879","fSalePrice":"44.0","szAgentId":"200050","nFlag":"3","szVerifyString":"3cceef390602058e1d2fdde2e07636a4","szPhoneNum":"18500608333","szRtnMsg":"","nDemo":"50"}';
|
|
|
+ $params = json_decode($data, true);
|
|
|
+ refill\RefillFactory::instance()->notify('weishengyjd', $params);
|
|
|
+ }
|
|
|
+
|
|
|
public function testZeheng()
|
|
|
{
|
|
|
$providers = new refill\zeheng\RefillOil([]);
|