moonsflyer hace 3 meses
padre
commit
3c86e67de2
Se han modificado 2 ficheros con 3 adiciones y 0 borrados
  1. 2 0
      app/common/logic/PayNotifyLogic.php
  2. 1 0
      app/common/logic/PaymentLogic.php

+ 2 - 0
app/common/logic/PayNotifyLogic.php

@@ -63,6 +63,8 @@ class PayNotifyLogic extends BaseLogic
     {
         Db::startTrans();
         try {
+            outFileLog($action,'prepay','$action');
+            outFileLog($orderSn,'prepay','$orderSn');
             self::$action($orderSn, $extra);
             Db::commit();
             return true;

+ 1 - 0
app/common/logic/PaymentLogic.php

@@ -81,6 +81,7 @@ class PaymentLogic extends BaseLogic
                 //余额支付
                 $payService = (new BalancePayService());
                 $result = $payService->pay($from, $order);
+                outFileLog($result,'prepay','$result');
                 if (false !== $result) {
                     PayNotifyLogic::handle($from, $order['sn']);
                 }