|
@@ -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,
|