|
@@ -2945,16 +2945,16 @@ class TestRefill extends TestCase
|
|
|
$resp = $provider->balance();
|
|
|
}
|
|
|
|
|
|
- public function testXuanji()
|
|
|
+ public function testJumi_sec()
|
|
|
{
|
|
|
-// $provider = $this->getProvider('xuanji', 'RefillOil');
|
|
|
+// $provider = $this->getProvider('jumi_sec', 'RefillOil');
|
|
|
// $resp = $provider->balance();
|
|
|
// $resp = $provider->add(1000111100021211884, 2, 100, ['order_sn' => $this->make_sn()]);
|
|
|
// $resp = $provider->query(['order_sn' => '73491669603140334285']);
|
|
|
|
|
|
$body = '{"appid":"CZ27801384","order":"D20221128031516100180983","morder":"73491669603140334285","status":"3","cash":"100","signature":"1e0d2b0dbec37ebc4a8bd03f0afd03dc"}';
|
|
|
$params = json_decode($body, true);
|
|
|
- $provider = $this->getProvider('xuanji', 'RefillCallBack');
|
|
|
+ $provider = $this->getProvider('jumi_sec', 'RefillCallBack');
|
|
|
$ret = $provider->verify($params);
|
|
|
$resp = $provider->notify($params);
|
|
|
}
|