|
@@ -669,10 +669,11 @@ class Pay extends Api
|
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
$site = config('site');
|
|
$site = config('site');
|
|
|
- $amount = $data['zprice'];
|
|
|
|
|
- if (!$amount) {
|
|
|
|
|
- $this->error(__('金额不对'));
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ $amount = $price;
|
|
|
|
|
+// $amount = $data['zprice'];
|
|
|
|
|
+// if (!$amount) {
|
|
|
|
|
+// $this->error(__('金额不对'));
|
|
|
|
|
+// }
|
|
|
// 异步通知地址
|
|
// 异步通知地址
|
|
|
$notify_url = $site['zfb']['notifyurl'];
|
|
$notify_url = $site['zfb']['notifyurl'];
|
|
|
// 订单标题
|
|
// 订单标题
|