|
@@ -193,6 +193,22 @@ class TestRefill extends TestCase
|
|
|
refill\RefillFactory::instance()->notify('ruishun',$input);
|
|
|
}
|
|
|
|
|
|
+ public function testWuchenPhone()
|
|
|
+ {
|
|
|
+// $providers = new refill\wuchen\RefillPhone([]);
|
|
|
+// $resp = $providers->add('18500608333', 5, 30, ['order_sn' => $this->make_sn()]);
|
|
|
+// $resp = $providers->query(['order_sn' => '43101615277293035501']);
|
|
|
+ $input['app_id'] = '70016';
|
|
|
+ $input['message'] = 'fail';
|
|
|
+ $input['order_sn'] = '43101615277293035501';
|
|
|
+ $input['platform_order_id'] = '';
|
|
|
+ $input['sign'] = '5ea59f8ac51a518f2c622824d7db2a04';
|
|
|
+ $input['state'] = "fail";
|
|
|
+ $input['sys_sn'] = '202103091608231836913889';
|
|
|
+ $input['timestamp'] = '1615277361';
|
|
|
+ refill\RefillFactory::instance()->notify('wuchen',$input);
|
|
|
+ }
|
|
|
+
|
|
|
public function testWeisPhone()
|
|
|
{
|
|
|
$providers = new refill\weisyd\RefillPhone([]);
|