WIN-2308041133\Administrator 7 月之前
父节点
当前提交
fcf2ed0b8d
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5 4
      application/api/controller/Pay.php

+ 5 - 4
application/api/controller/Pay.php

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