|
@@ -21,7 +21,7 @@ class PayUtil
|
|
|
|
|
|
public function jsPay(string $openid, string $order_no, string $amount, string $desc = '', string $notify_url = '', string $type = 'T_MINIAPP')
|
|
|
{
|
|
|
- $url = "http://www.zhiyinvip001.com/api/passport/pay_notify";
|
|
|
+ $url = "https://api.huifu.com/v2/trade/payment/jspay";
|
|
|
|
|
|
$post_data = [
|
|
|
'req_date' => date('Ymd'),
|
|
@@ -36,7 +36,7 @@ class PayUtil
|
|
|
'sub_appid' => $this->config['sub_appid'],
|
|
|
'sub_openid' => $openid,
|
|
|
],
|
|
|
- 'notify_url' => ''
|
|
|
+ 'notify_url' => 'http://www.zhiyinvip001.com/api/passport/pay_notify'
|
|
|
];
|
|
|
// ksort($post_data);
|
|
|
$data = [
|