diff --git a/app/Http/Controllers/IndustryProductWxpay.php b/app/Http/Controllers/IndustryProductWxpay.php index 61b11d1..7c723c7 100644 --- a/app/Http/Controllers/IndustryProductWxpay.php +++ b/app/Http/Controllers/IndustryProductWxpay.php @@ -12,6 +12,7 @@ use EasyWeChat\Factory; use EasyWeChat\Kernel\Exceptions\Exception; use EasyWeChat\Payment\Kernel\Exceptions\InvalidSignException; use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Log; /** * 行业产品微信支付回调 @@ -123,6 +124,7 @@ class IndustryProductWxpay $fail('Unknown error 2'); }); } catch (InvalidSignException | Exception $e) { + LOG::debug('行业产品支付', [$e->getFile(), $e->getLine(), $e->getMessage()]); return 'error'; }