Browse Source

7niu 参数

dev
巴林闲侠 2 years ago
parent
commit
c9e5529bb4
  1. 23
      scripts/0.0.1/data/3_init_report_pic_data/index.js

23
scripts/0.0.1/data/3_init_report_pic_data/index.js

@ -10,17 +10,30 @@ try {
const uuidv4 = require('uuid/v4');
// 连接数据库
// const pool = new Pool({
// user: 'FashionAdmin',
// host: '10.8.30.156',
// database: 'highway4goodn0728',
// password: '123456',
// port: 5432,
// })
// // 7niu 验证
// const accessKey = '5XrM4wEB9YU6RQwT64sPzzE6cYFKZgssdP5Kj3uu'
// const secretKey = 'w6j2ixR_i-aelc6I7S3HotKIX-ukMzcKmDfH6-M5'
// const bucket = 'anxinyun-test'
// 商用环境
const pool = new Pool({
user: 'FashionAdmin',
host: '10.8.30.156',
database: 'highway4goodn0728',
password: '123456',
user: 'highwayadmin',
host: '10.8.40.223',
database: 'highway4good',
password: 'highway123',
port: 5432,
})
// 7niu 验证
const accessKey = '5XrM4wEB9YU6RQwT64sPzzE6cYFKZgssdP5Kj3uu'
const secretKey = 'w6j2ixR_i-aelc6I7S3HotKIX-ukMzcKmDfH6-M5'
const bucket = 'anxinyun-test'
const bucket = 'anxinyun'

Loading…
Cancel
Save