|
@@ -442,8 +442,11 @@ class TestRefill extends TestCase
|
|
public function testWeishengyPhone()
|
|
public function testWeishengyPhone()
|
|
{
|
|
{
|
|
$providers = new refill\weishengy\RefillPhone([]);
|
|
$providers = new refill\weishengy\RefillPhone([]);
|
|
-// $resp = $providers->add(13699279618, 4, 30, ['order_sn' => $this->make_sn()]);
|
|
|
|
- $resp = $providers->query(['order_sn' => '65461618466399202798']);
|
|
|
|
|
|
+// $resp = $providers->add(18500608333, 5, 30, ['order_sn' => $this->make_sn()]);
|
|
|
|
+// $resp = $providers->query(['order_sn' => '15551618590601301527']);
|
|
|
|
+ $data = '{"masId":"699270071532654592","oids":"158877719094,166090529155,158887187476","orderNo":"62411618635377880788","orderPrice":"150.00","phone":"18500608333","sign":"3EC10A32FC4CCC976048E1164D0FCBF6","status":"1","time":"1618643281063","type":"2"}';
|
|
|
|
+ $input = json_decode($data, true);
|
|
|
|
+ refill\RefillFactory::instance()->notify('weishengy',$input);
|
|
}
|
|
}
|
|
|
|
|
|
public function testWailingPhone()
|
|
public function testWailingPhone()
|