|
|
@ -36,20 +36,20 @@ try { |
|
|
|
] |
|
|
|
|
|
|
|
// 测试环境
|
|
|
|
const pool = new Pool({ |
|
|
|
user: 'FashionAdmin', |
|
|
|
host: '10.8.30.39', |
|
|
|
database: 'inspection_231027_bak', |
|
|
|
password: '123456', |
|
|
|
port: 5432, |
|
|
|
}) |
|
|
|
// const pool = new Pool({
|
|
|
|
// user: 'FashionAdmin',
|
|
|
|
// host: '10.8.30.39',
|
|
|
|
// database: 'inspection_231027_bak',
|
|
|
|
// password: '123456',
|
|
|
|
// port: 5432,
|
|
|
|
// })
|
|
|
|
|
|
|
|
// 商用环境
|
|
|
|
// const pool = new Pool({
|
|
|
|
// user: '',
|
|
|
|
// host: '',
|
|
|
|
// database: '',
|
|
|
|
// password: '',
|
|
|
|
// user: 'insAdmin',
|
|
|
|
// host: '10.8.40.223',
|
|
|
|
// database: 'inspection',
|
|
|
|
// password: 'insAdmin123',
|
|
|
|
// port: 5432,
|
|
|
|
// })
|
|
|
|
|
|
|
|