wesmiler hai 3 horas
pai
achega
0bd67a2b9d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      app/Services/Api/OrderService.php

+ 4 - 0
app/Services/Api/OrderService.php

@@ -513,6 +513,10 @@ class OrderService extends BaseService
             return false;
         }
 
+        if (env('PAY_DEBUG')) {
+            $orderTotal = 0.01;
+        }
+
         DB::beginTransaction();
         // 获取支付参数
         /* TODO 支付处理 */