Fork me on GitHub
摘要: 一般错误处理 app.use((err, req, res, next) => { const statusCode = err.statusCode || 500; console.error(new Date().toLocaleString(), req.originalUrl, status 阅读全文
posted @ 2023-02-10 11:17 逍遥メ风 阅读(164) 评论(0) 推荐(0) 编辑