|
@@ -33,18 +33,19 @@ class TestElectric extends TestCase
|
|
"act" => "refill",
|
|
"act" => "refill",
|
|
"op" => "add_electric",
|
|
"op" => "add_electric",
|
|
'order_sn' => $this->make_sn(),
|
|
'order_sn' => $this->make_sn(),
|
|
- 'notifyurl' => 'https://test.xyzshops.cn' . '/mobile/innercb.php',
|
|
|
|
|
|
+ 'notifyurl' => 'https://www.xyzshops.cn' . '/mobile/innercb.php',
|
|
'cardno' => '1004638637',
|
|
'cardno' => '1004638637',
|
|
- 'amount' => 50,
|
|
|
|
|
|
+ 'amount' => 200,
|
|
'company_type' => 'nation',
|
|
'company_type' => 'nation',
|
|
'use_type' => 'home',
|
|
'use_type' => 'home',
|
|
'card_id' => '051818',
|
|
'card_id' => '051818',
|
|
- 'province' => 1
|
|
|
|
|
|
+ 'province' => 1,
|
|
|
|
+ 'city' => '北京市'
|
|
];
|
|
];
|
|
|
|
|
|
$proxy = new refill_proxy('210fe406954220f56085997d6a4c5b80');
|
|
$proxy = new refill_proxy('210fe406954220f56085997d6a4c5b80');
|
|
// $proxy->send(BASE_SITE_URL . "/mobile/index.php",$params);
|
|
// $proxy->send(BASE_SITE_URL . "/mobile/index.php",$params);
|
|
- $proxy->send('https://test.xyzshops.cn' . "/mobile/index.php",$params);
|
|
|
|
|
|
+ $proxy->send('https://www.xyzshops.cn' . "/mobile/index.php",$params);
|
|
}
|
|
}
|
|
|
|
|
|
public function testNet()
|
|
public function testNet()
|