production.js
1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
module.exports = {
port: 3572,
entryURL: 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx52d72e78b0ecf0f0&redirect_uri=https%3A%2F%2Fwww.51liuliang.cc%2Fnetiou&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect',
baseURL: 'https://www.51liuliang.cc/netiou',
dir: {
dist: 'dist',
static: 'static',
index: 'dist/index.html'
},
db: {
name: 'net_iou_production',
username: 'postgres',
password: 'Postgres!',
host: 'rm-bp12j7p6y61148ue4.pg.rds.aliyuncs.com',
dialect: 'postgres',
port: 3433,
},
session: {
resave: false,
saveUninitialized: true,
cookie: {maxAge: 1000*60*60*24*30 },
redisStore: {host: '127.0.0.1', port: 6379, prefix:'chs-sess'},
secret: 'test'
},
bcrypt: {
saltRounds: 1,
salt: "OverLoad"
},
jwt: {
key: 'Since their first mission in June 2010, rockets from the Falcon 9 family have been launched 51 times.',
},
wx: {
appId: 'wx52d72e78b0ecf0f0',
appSecret: '7f5b1dd442a6c172586480d9e69c9fee'
},
sms: {
url: 'http://api.chanzor.com/send',
account: '98abaa',
password: 'd91ye3g50u'
},
idOCR: {
url: 'https://recognition.image.myqcloud.com/ocr/idcard',
appid: 10123991,
bucket: 'id-decetive',
SecretId: 'AKIDAAwToxEWv50fT28OM6ctwkKgmcBVfNvE',
SecretKey: 'A4i6E6i5CWcS3OTGn45qLaZI3d081e3D'
},
img: {
idImg: '/data/idImg',
iouImg: '/data/iouImg',
reportImg: '/data/reportImg'
},
zhenxin: {
code: 'jt100_mohe',
key: 'db874d7600184b6296ef53d73f351fd1'
},
xunChengIdAuth: {
url: 'https://v.apistore.cn/api/a1',
key: '059b6999fdfb823ef33032147a4b0533'
},
agreementHelper: '10.168.169.151'
}