mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-28 14:57:22 +08:00
to: 增加支付回调错误日志记录
This commit is contained in:
@@ -21,8 +21,9 @@ class PaymentController extends Controller
|
|||||||
if (!$this->handle($verify['trade_no'], $verify['callback_no'])) {
|
if (!$this->handle($verify['trade_no'], $verify['callback_no'])) {
|
||||||
return $this->fail([400,'handle error']);
|
return $this->fail([400,'handle error']);
|
||||||
}
|
}
|
||||||
return(isset($verify['custom_result']) ? $verify['custom_result'] : 'success');
|
return (isset($verify['custom_result']) ? $verify['custom_result'] : 'success');
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
\Log::error($e);
|
||||||
return $this->fail([500,'fail']);
|
return $this->fail([500,'fail']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user