panda 1 年之前
父節點
當前提交
79fa5a384d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      application/utils/PayUtil.php

+ 2 - 2
application/utils/PayUtil.php

@@ -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 = [