mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
to: 增加支付回调错误日志记录
This commit is contained in:
parent
31b8930222
commit
3f65ad6ae6
@ -21,8 +21,9 @@ class PaymentController extends Controller
|
||||
if (!$this->handle($verify['trade_no'], $verify['callback_no'])) {
|
||||
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) {
|
||||
\Log::error($e);
|
||||
return $this->fail([500,'fail']);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user