增加数据-人民币汇率

This commit is contained in:
cheney
2026-04-25 19:48:19 +08:00
parent d232591a38
commit 306af38fdc
4 changed files with 333 additions and 5 deletions
+6 -3
View File
@@ -98,8 +98,11 @@ export default async function handler(req, res) {
error: error.message
});
} finally {
if (pool) {
await pool.end();
}
// 不关闭连接池,保持连接池打开以提高性能
// 如果需要关闭连接池,应该在关闭后将 pool 变量设置为 null
// if (pool) {
// await pool.end();
// pool = null;
// }
}
}