|
@@ -386,8 +386,11 @@ class TestRefill extends TestCase
|
|
|
public function testWantongPhone()
|
|
|
{
|
|
|
$providers = new refill\wantong\RefillPhone([]);
|
|
|
- $resp = $providers->add(13699279618, 4, 30, ['order_sn' => $this->make_sn()]);
|
|
|
-// $resp = $providers->query(['order_sn' => '50261617199864602428']);
|
|
|
+// $resp = $providers->add(13699279618, 4, 30, ['order_sn' => $this->make_sn()]);
|
|
|
+// $resp = $providers->query(['order_sn' => '91531617802656873903']);
|
|
|
+ $data = '{"order_id":"91531617802656873903","mchid":"10037","tel":"13699279618","price":"30.00","sign":"6224acb8dca9232ccdd07b4454016fc2","status":"0","out_order_id":"0"}';
|
|
|
+ $input = json_decode($data, true);
|
|
|
+ refill\RefillFactory::instance()->notify('wantong',$input);
|
|
|
}
|
|
|
|
|
|
public function testXunyinPhone()
|