|
@@ -300,11 +300,11 @@ class TestRefill extends TestCase
|
|
|
public function testWeiyiPhone()
|
|
|
{
|
|
|
$providers = new refill\weiyi\RefillPhone([]);
|
|
|
- $resp = $providers->add(18500608333, 5, 100, ['order_sn' => $this->make_sn()]);
|
|
|
-// $resp = $providers->query(['order_sn' => '59031616396534854303']);
|
|
|
-// $body = '{"userid":"8177b4b1d0254c0699bc","ordernum":"59031616396534854303","mobile":"18500608333","timestamp":"20210322150437","state":"3","desc":"%E5%A4%B1%E8%B4%A5%3A%E5%A4%B1%E8%B4%A5","sign":"1d412f956c041bf4454357b209c93df6"}';
|
|
|
-// $params = json_decode($body , true);
|
|
|
-// refill\RefillFactory::instance()->notify('weiyi',$params);
|
|
|
+// $resp = $providers->add(13699279618, 4, 50, ['order_sn' => $this->make_sn()]);
|
|
|
+// $resp = $providers->query(['order_sn' => '90401621489214002876']);
|
|
|
+ $body = '{"userid":"1f68bb3452134a6cbaa4","ordernum":"90401621489214002876","mobile":"13699279618","timestamp":"20210520134039","state":"2","desc":"%E5%85%85%E5%80%BC%E6%88%90%E5%8A%9F","sign":"865e8d886b92e019df1d039fccf8df46"}';
|
|
|
+ $params = json_decode($body , true);
|
|
|
+ refill\RefillFactory::instance()->notify('weiyi',$params);
|
|
|
}
|
|
|
|
|
|
public function testWeiyimanPhone()
|