|
@@ -412,8 +412,11 @@ class TestRefill extends TestCase
|
|
public function testYuanmaiPhone()
|
|
public function testYuanmaiPhone()
|
|
{
|
|
{
|
|
$providers = new refill\yuanmai\RefillPhone([]);
|
|
$providers = new refill\yuanmai\RefillPhone([]);
|
|
-// $resp = $providers->add(18500608331, 5, 10, ['order_sn' => $this->make_sn()]);
|
|
|
|
- $resp = $providers->query(['order_sn' => '53631624845651227362', 'ch_trade_no' => '210623174333941000']);
|
|
|
|
|
|
+// $resp = $providers->add(18500608330, 5, 10, ['order_sn' => $this->make_sn()]);
|
|
|
|
+ $resp = $providers->query(['order_sn' => '38961624852492322076', 'ch_trade_no' => '210623174333941000']);
|
|
|
|
+ $data = '{"orderid":"38961624852492322076","status":"2","ordermoney":"10","sign":"61223f4f1ddb982c197cac69df35c2b5","spsno":"SP_012106281154508922"}';
|
|
|
|
+ $params = json_decode($data, true);
|
|
|
|
+// refill\RefillFactory::instance()->notify('yuanmai',$params);
|
|
}
|
|
}
|
|
|
|
|
|
public function testTongluPhone()
|
|
public function testTongluPhone()
|