统一前后端代码格式化配置
This commit is contained in:
@@ -44,11 +44,16 @@ router.post('/', notifyRateLimit, async (req, res) => {
|
||||
})
|
||||
res.status(200).json({ code: 0 })
|
||||
} catch (error) {
|
||||
logIntegration('[affiliate-dash/notify]', '订单回调处理失败', {
|
||||
requestId,
|
||||
durationMs: Date.now() - startedAt,
|
||||
error,
|
||||
}, { level: 'error' })
|
||||
logIntegration(
|
||||
'[affiliate-dash/notify]',
|
||||
'订单回调处理失败',
|
||||
{
|
||||
requestId,
|
||||
durationMs: Date.now() - startedAt,
|
||||
error,
|
||||
},
|
||||
{ level: 'error' },
|
||||
)
|
||||
sendRouteError(res, error, 'affiliate-dash 回调处理失败', '[affiliate-dash/notify]')
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user