Browse Source

付款码轮询

gorden 6 months ago
parent
commit
6309e2c101
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/admin/service/order/OrderService.php

+ 4 - 0
app/admin/service/order/OrderService.php

@@ -270,6 +270,8 @@ class OrderService
                 $result = json_decode(json_encode($result), true);
             }
         } catch (\Exception $e) {
+            dump($e->getMessage());
+            SupportLog::channel('pay')->error("WXPAY", ['msg' => $e->getMessage()]);
             throw new BusinessException("订单查询失败");
         }
 
@@ -303,6 +305,8 @@ class OrderService
                 $result = json_decode(json_encode($result), true);
             }
         } catch (\Exception $e) {
+            dump($e->getMessage());
+            SupportLog::channel('pay')->error("ALIPAY", ['msg' => $e->getMessage()]);
             throw new BusinessException("订单查询失败");
         }