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