|
@@ -631,9 +631,9 @@ class TestRefill extends TestCase
|
|
|
public function testYunlingPhone()
|
|
|
{
|
|
|
$providers = new refill\yunling\RefillPhone([]);
|
|
|
-// $resp = $providers->add(18500608333, 5, 30, ['order_sn' => $this->make_sn()]);
|
|
|
-// $resp = $providers->query(['order_sn' => '80611623143194548528']);
|
|
|
- $data = '{"orderid":"CMM21060817062907189","sporderid":"80611623143194548528","userid":"10002504","merchantsubmittime":"20210608170733","resultno":"9","parvalue":"30","remark1":"","payno":"","fundbalance":"-28.59","sign":"06F04CE05ED248448B319F5986CE5335"}';
|
|
|
+// $resp = $providers->add(18074608795, 6, 30, ['order_sn' => $this->make_sn()]);
|
|
|
+// $resp = $providers->query(['order_sn' => '73791623147517199719']);
|
|
|
+ $data = '{"orderid":"EAF21060818183032772","sporderid":"73791623147517199719","userid":"10002504","merchantsubmittime":"20210608181912","resultno":"1","parvalue":"30","remark1":"1000000083421060818483137636","payno":"1000000083421060818483137636","fundbalance":"-28.59","sign":"8D77517AC3905ED88BF79EE789A5FA86"}';
|
|
|
$input = json_decode($data, true);
|
|
|
refill\RefillFactory::instance()->notify('yunling',$input);
|
|
|
}
|