Jelajahi Sumber

【Fix】修复线上支付拉起异常问题

liuxiangxin 2 minggu lalu
induk
melakukan
edf158f136
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/Servers/WechatPay/Payment.php

+ 1 - 1
app/Servers/WechatPay/Payment.php

@@ -66,7 +66,7 @@ class Payment
                     'appid'        => $this->appid,
                     'description'  => $params['description'],
                     /*'time_expire'  => $this->timestampToRfc3339(time() + env('ORDER_OUT_TIME')*60),*/
-                    'notify_url'   => env('APP_URL').'/api/wechat_pay/notify',
+                    'notify_url'   => $notify_url,
                     'amount'       => [
                         //'total'    => 1,
                         'total'    => $params['total_price']*100,