Commit bc68e910 authored by tywldx's avatar tywldx

format

parent 0d38d949
...@@ -3,168 +3,172 @@ var redis = 'redis' ...@@ -3,168 +3,172 @@ var redis = 'redis'
var db = 'db' var db = 'db'
module.exports = { module.exports = {
ip: process.env.OPENSHIFT_NODEJS_IP || process.env.IP || undefined, ip: process.env.OPENSHIFT_NODEJS_IP || process.env.IP || undefined,
port: 80, port: 80,
hostname: 'http://sappbackend.domain.com', hostname: 'http://sappbackend.domain.com',
secrets: { secrets: {
session: process.env.SECRETS_SESSION || 'xyqb-app-api-prod-0.0.1' session: process.env.SECRETS_SESSION || 'xyqb-app-api-prod-0.0.1'
}, },
usercenter: { usercenter: {
host: db, host: db,
user: 'qa', user: 'qa',
password: 'qatest', password: 'qatest',
database: 'xyqb_user' database: 'xyqb_user'
}, },
db: { db: {
host: db,
user: 'qa',
password: 'qatest',
database: 'xyqb'
},
coreDb: {
host: db, host: db,
user: 'qa', user: 'qa',
password: 'qatest', password: 'qatest',
database: 'xyqb' database: 'xyqb_app'
}, },
coreDb: { mallDb: {
host: db, host: db,
user: 'qa', user: 'qa',
password: 'qatest', password: 'qatest',
database: 'xyqb_app' database: 'mall'
}, },
mallDb: { msgDb: {
host: db, host: "192.168.4.3",
user: 'qa', user: 'qa',
password: 'qatest', password: 'qatest',
database: 'mall' database: 'msg'
}, },
msgDb: { redis: {
host: "192.168.4.3", host: redis,
user: 'qa', port: '6379'
password: 'qatest', },
database: 'msg' jd: {
}, root: 'https://router.jd.com'
redis: { },
host: redis, xyqbQuery: {
port: '6379' root: 'http://query.domain.com'
}, },
jd: { userServer: {
root: 'https://router.jd.com' //host: 'http://auth.domain.com' // 密码登录
}, host: 'http://passportapi.domain.com' //函谷关迁移至用户中心
xyqbQuery: { },
root: 'http://query.domain.com' xyqbapiServer: {
}, root: 'http://api.domain.com'
userServer: { },
//host: 'http://auth.domain.com' // 密码登录 xyqbOfflineApiServer: {
host: 'http://passportapi.domain.com' //函谷关迁移至用户中心 root: 'http://offapi.domain.com'
}, },
xyqbapiServer: { userCenterApiServer: {
root: 'http://api.domain.com' root: 'http://passportapi.domain.com',
}, host: 'http://passportapi.domain.com'
xyqbOfflineApiServer: { },
root: 'http://offapi.domain.com' spiderCenter: {
}, root: 'http://scapi.domain.com',
userCenterApiServer: { host: 'http://operator.q-gp.com',
root: 'http://passportapi.domain.com', //this is v2
host: 'http://passportapi.domain.com' },
}, loanAPIServer: {
spiderCenter:{ root: 'http://api.domain.com',
root: 'http://scapi.domain.com', loginUrl: 'http://passportapi.domain.com/app/login2' // 免密登录,函谷关迁移至用户中心
host: 'http://operator.q-gp.com', //this is v2 },
}, blankNote: {
loanAPIServer: { root: 'http://btapi.domain.com'
root: 'http://api.domain.com', },
loginUrl: 'http://passportapi.domain.com/app/login2' // 免密登录,函谷关迁移至用户中心 opBackend: {
}, root: 'http://displayapi.domain.com'
blankNote: { },
root: 'http://btapi.domain.com' mall: {
}, root: 'http://mallapi.domain.com',
opBackend: { authRoot: 'http://mallapi.domain.com',
root: 'http://displayapi.domain.com' clientIp: '61.50.125.14',
}, // 公司的外网IP
mall: { jd: {
root: 'http://mallapi.domain.com', app_key: '319e864090664a499ee6417b9e243f62'
authRoot: 'http://mallapi.domain.com', },
clientIp: '61.50.125.14', // 公司的外网IP host: 'http://mallapi.domain.com'
jd: { },
app_key: '319e864090664a499ee6417b9e243f62' op: {
}, root: 'http://mallapi.domain.com',
host:'http://mallapi.domain.com' },
}, score: { //积分系统
op: { root: 'http://scoreapi.domain.com',
root: 'http://mallapi.domain.com', },
}, redPacket: { // 红包系统
score: { //积分系统 root: 'http://redpacket.domain.com',
root: 'http://scoreapi.domain.com', },
}, authorization: {
redPacket: { // 红包系统 root: 'http://mock.q-gp.com/SpiderServer/api',
root: 'http://redpacket.domain.com', haoxindu: {
}, root: 'http://openapi.quantgroup.cn/qauth'
authorization: { },
root: 'http://mock.q-gp.com/SpiderServer/api', zhima: {
haoxindu: { root: 'http://api.domain.com',
root: 'http://openapi.quantgroup.cn/qauth' rootscore: 'http://rapi.domain.com'
}, }
zhima: { },
root: 'http://api.domain.com', activities: {
rootscore:'http://rapi.domain.com' repaymentLottery: {
} url: 'http://wechat.domain.com/turntable.html'
}, },
activities: { redEnvelop: {
repaymentLottery: { startAt: '2016-03-15',
url: 'http://wechat.domain.com/turntable.html' finishAt: '2016-04-01'
}, },
redEnvelop: { invitation: {
startAt: '2016-03-15', startAt: '2016-03-15',
finishAt: '2016-04-01' finishAt: '2016-04-01'
}, },
invitation: { pickCoin: {
startAt: '2016-03-15', startAt: '2016-02-29',
finishAt: '2016-04-01' finishAt: '2016-03-21'
}, },
pickCoin: { blankNoteRedEnvelop: {
startAt: '2016-02-29', startAt: '2016-04-01',
finishAt: '2016-03-21' finishAt: '2016-05-01'
}, }
blankNoteRedEnvelop: { },
startAt: '2016-04-01', loanProcess: {
finishAt: '2016-05-01' h5Host: 'https://m.domain.com'
} },
}, blanknote: {
loanProcess: { h5Host: 'http://bt.domain.com'
h5Host: 'https://m.domain.com' },
}, mallH5Host: 'http://new-mall.domain.com',
blanknote: {
h5Host: 'http://bt.domain.com'
},
mallH5Host: 'http://new-mall.domain.com',
activity: { activity: {
h5Host: 'http://activity.domain.com' h5Host: 'http://activity.domain.com'
}, },
baseUI: { baseUI: {
host: 'http://h5.domain.com' host: 'http://h5.domain.com'
}, },
rabbitMQ: { rabbitMQ: {
host: redis, host: redis,
user: 'qa', user: 'qa',
password: 'qatest' password: 'qatest'
}, },
userCreditApiServer: { userCreditApiServer: {
root: 'http://member.domain.com' root: 'http://member.domain.com'
}, },
scoreV2: { scoreV2: {
host: 'http://scoreapi.domain.com' host: 'http://scoreapi.domain.com'
}, },
liangka: { liangka: {
host: 'http://card.domain.com' host: 'http://card.domain.com'
}, },
payCenter:{ payCenter: {
host: 'http://payapi.domain.com' host: 'http://payapi.domain.com'
}, },
passport: { passport: {
host: 'http://passportapi.domain.com' host: 'http://passportapi.domain.com'
}, },
agreement: { agreement: {
host: 'http://api.domain.com' host: 'http://api.domain.com'
},xyqbloan: { },
host: 'http://api.domain.com' //host 是现金贷的地址 xyqbloan: {
},xyqbLoan: { host: 'http://api.domain.com' //host 是现金贷的地址
host: 'http://api.domain.com' //host 是现金贷的地址 },
} xyqbLoan: {
}; host: 'http://api.domain.com' //host 是现金贷的地址
}
};
\ No newline at end of file
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