测试回调结果

This commit is contained in:
2025-05-26 15:45:28 +08:00
parent b758a87aeb
commit e6c190f3a5

View File

@@ -244,7 +244,7 @@ class CallbackController extends \yii\web\Controller
// 或返回错误原因 $fail('参数格式校验错误');
} catch (\Exception $exception) {
$t->rollBack();
$callback->message = $exception->getMessage();
$callback->message = $exception->getMessage(). "在第". $exception->getLine() . "行出错,文件:" . $exception->getFile();
$callback->save();
$fail($exception->getMessage());
}