This commit is contained in:
szdot 2024-06-04 13:48:01 +08:00
commit be67d2c7b2

View File

@ -84,7 +84,7 @@ class PayController extends PublicController
try { try {
$pay = Pay::wechat($this->config)->mini($order); $pay = Pay::wechat($this->config)->mini($order);
Logger::debug('Paying...', $order->all()); //打印日志 //Logger::debug('Paying...', $order->all()); //打印日志
echo json_encode($pay); echo json_encode($pay);
} catch (\Exception $e) { } catch (\Exception $e) {
echo 'Error: ' . $e->getMessage(); echo 'Error: ' . $e->getMessage();