wesmiler hace 3 horas
padre
commit
0bd67a2b9d
Se han modificado 1 ficheros con 4 adiciones y 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 支付处理 */