|
|
|
@ -160,7 +160,7 @@ class WxpayController |
|
|
|
// 希望微信重试
|
|
|
|
$fail('Unknown error 2'); |
|
|
|
}); |
|
|
|
} catch (InvalidSignException | Exception $e) { |
|
|
|
} catch (InvalidSignException | Exception | \Exception $e) { |
|
|
|
$this->log($e->getMessage() . $e->getFile() . $e->getLine()); |
|
|
|
return 'error'; |
|
|
|
} |
|
|
|
@ -252,7 +252,7 @@ class WxpayController |
|
|
|
|
|
|
|
$fail('Unknown error 2'); |
|
|
|
}); |
|
|
|
} catch (Exception $e) { |
|
|
|
} catch (Exception | \Exception $e) { |
|
|
|
$this->log($e->getMessage() . $e->getFile() . $e->getLine()); |
|
|
|
return 'error'; |
|
|
|
} |
|
|
|
@ -366,7 +366,7 @@ class WxpayController |
|
|
|
// 希望微信重试
|
|
|
|
$fail('Unknown error 2'); |
|
|
|
}); |
|
|
|
} catch (InvalidSignException | Exception $e) { |
|
|
|
} catch (InvalidSignException | Exception | \Exception $e) { |
|
|
|
LOG::debug('行业产品支付:', [$e->getFile(), $e->getLine(), $e->getMessage()]); |
|
|
|
return 'error'; |
|
|
|
} |
|
|
|
@ -416,7 +416,7 @@ class WxpayController |
|
|
|
// 希望微信重试
|
|
|
|
$fail('Unknown error 2'); |
|
|
|
}); |
|
|
|
} catch (Exception $e) { |
|
|
|
} catch (Exception | \Exception $e) { |
|
|
|
LOG::debug('商家入驻支付回调:', [$e->getFile(), $e->getLine(), $e->getMessage()]); |
|
|
|
return 'error'; |
|
|
|
} |
|
|
|
|