Commit 50db106d authored by 智勇's avatar 智勇

update

parent 32b5aa83
...@@ -16,13 +16,52 @@ module.exports = { ...@@ -16,13 +16,52 @@ module.exports = {
bt_api: 'http://btapi.domain.com', bt_api: 'http://btapi.domain.com',
appbackend_api: 'http://sappbackend.domain.com', appbackend_api: 'http://sappbackend.domain.com',
pay_api: 'http://payapi.domain.com', pay_api: 'http://payapi.domain.com',
sc_api: 'http://scapi.domain.com' sc_api: 'http://scapi.domain.com'
}, },
redis: { redis: {
api: 'redis://redis:6379/1' api: 'redis://redis:6379/1'
}, },
//极速版
appbackend_redis: {
// host: 'appbackend-redis1.quantgroups.com',
// port: 6379
sentinels: [
{ host: 'appbackend-redis1.quantgroups.com', port: 26379 },
{ host: 'appbackend-redis2.quantgroups.com', port: 26379 },
{ host: 'appbackend-redis3.quantgroups.com', port: 26379 }
],
name: 'mymaster'
},
xyqbapiServer: {
root: 'http://api.domain.com',
loanHomeStatus: '/v3/speed/app/home_status',
receiveToken2: '/ex/login/receive_token2',
},
blankNote: {
root: 'http://btapi.xyqb.com',
receiveToken: '/ex/login/btreceive_token',
},
// Secret for session, you will want to change this and make it an environment variable
secrets: {
session: 'xyqb-app-api-secret',
salt: '_lkb'
},
gateway: {
secretKey: 'z-user-secret',
phoneKey: 'z-user-phone-no',
secretValue: 'z.h,w44RXMu4XL#dq_%@ZX,u*gd]zVhmdks@H8krq*Gn-CC:6>YTHX_Kh=_#D7LR'
},
passport: {
host: 'http://passportapi.domain.com'
},
log4js: { log4js: {
appenders: { appenders: {
out: { type: 'stdout' }, out: { type: 'stdout' },
...@@ -59,5 +98,7 @@ module.exports = { ...@@ -59,5 +98,7 @@ module.exports = {
zookeeper: { zookeeper: {
api: 'zookeeper:2181', api: 'zookeeper:2181',
znode: ['/grpc/help_center'] znode: ['/grpc/help_center']
}, },
accessOrigin: [".xyqb.com", ".q-gp.com", ".quantgroup.cn", ".liangkebang.com"]
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment