소스 검색

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

liuxiangxin 2 주 전
부모
커밋
edf158f136
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,