Browse Source

debug

master
李可松 4 years ago
parent
commit
01ca7e338b
  1. 2
      app/Http/Controllers/IndustryProductWxpay.php

2
app/Http/Controllers/IndustryProductWxpay.php

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

Loading…
Cancel
Save