|
@@ -55,7 +55,21 @@ class TestRefill extends TestCase
|
|
|
|
|
|
public function testCallBack()
|
|
|
{
|
|
|
-
|
|
|
+ $params = [
|
|
|
+ "mchid" => 10193,
|
|
|
+ "order_sn" => 'byn1632450604473517496045',
|
|
|
+ "amount" => '50.0000',//intval($refill_info['refill_amount'] + 0.05),
|
|
|
+ "cardno" => 13834261266,
|
|
|
+ "trade_no" => '3743040685796225025137',
|
|
|
+ "idcard" => $refill_info['idcard'] ?? "",
|
|
|
+ "card_name" => $refill_info['card_name'] ?? "",
|
|
|
+ 'official_sn' => '',
|
|
|
+ 'message' => '',
|
|
|
+ "state" => 'CANCEL'
|
|
|
+ ];
|
|
|
+ $params['sign'] = $this->md5_sign($params, '0a845c18fbefaa121f36169ab8c880f3');
|
|
|
+ $notify_url = 'http://v3.biyingniao.com/web/yezi/v2/straight_url?from=equitySass';
|
|
|
+ $resp = http_request($notify_url, $params, 'POST');
|
|
|
}
|
|
|
|
|
|
public function testFactory()
|