Commit 76badc16 authored by daidekun's avatar daidekun

appbackend

parent 39380dbc
'use strict';
module.exports = {
// disableAuthentication: true,
port: 7018,
hostname: 'http://target_host_name:7018',
secrets: {
//session: 'xyqb-app-api-test-0.0.1'
session: process.env.SECRETS_SESSION || 'xyqb-app-api-prod-0.0.1'
},
db: {
host: 'target_host_name',
user: 'qa',
password: 'qatest',
database: 'xyqb'
},
coreDb: {
host: 'target_host_name',
user: 'qa',
password: 'qatest',
database: 'xyqb_app'
},
mallDb: {
host: 'target_host_name',
user: 'qa',
password: 'qatest',
database: 'mall'
},
usercenter: {
host: 'target_host_name',
user: 'qa',
password: 'qatest',
database: 'xyqb_user'
},
redis: {
host: 'target_host_name',
port: '6379'
},
xyqbQuery: {
root: 'http://target_host_name:7033'
},
defaultCaptcha: '000000', // 测试环境短信验证码
userServer: {
// 函谷关
//host: 'http://target_host_name:7013'
//用户中心
host:'http://target_host_name:7042'
},
xyqbapiServer: {
root: 'http://target_host_name:7003'
},
spiderCenter:{
//老版授信
root: 'http://target_host_name:7021',
//新版授信
host: 'http://139.198.2.95:38099'
},
loanAPIServer: {
root: 'http://target_host_name:7003',
loginUrl: 'http://target_host_name:7042/app/login2'
//loginUrl: 'http://target_host_name:7013/app/login'
},
coreServer: {
root: 'http://127.0.0.1:1337'
},
blankNote: {
root: 'http://target_host_name:7025',
clientIp: '61.50.125.14'
},
mall: {
root: 'http://target_host_name:7019',
authRoot: 'http://target_host_name:7019',
//authMallUser: true,
clientIp: '61.50.125.14', // 公司的外网IP
//enableMultipleOrderPerMonth: false
jd:{
app_key: '319e864090664a499ee6417b9e243f62'
}
},
authorization: {
//root: 'http://192.168.4.193:8080/SpiderServer/api',
root: 'http://mock.q-gp.com/SpiderServer/api',
haoxindu: {
root: 'http://openapi.quantgroup.cn/qauth'
},
zhima: {
root: 'http://target_host_name:7003',
rootscore:'http://target_host_name:7005'
}
},
activities: {
repaymentLottery: {
url: 'http://wechat.xyqb.com/turntable.html'
},
redEnvelop: {
startAt: '2016-03-15',
finishAt: '2016-04-01'
},
invitation: {
startAt: '2016-03-15',
finishAt: '2016-04-01'
},
pickCoin: {
startAt: '2016-02-29',
finishAt: '2016-03-21'
},
blankNoteRedEnvelop: {
startAt: '2016-04-01',
finishAt: '2016-05-01'
}
},
loanProcess: {
h5Host: 'http://target_host_name:7001'
},
op: {
root: 'http://target_host_name:7019',
},
redPacket: { // 红包系统
root: 'http://target_host_name:7031'
},
activity: {
h5Host: 'http://target_host_name:7040'
},
blanknote: {
h5Host: 'http://target_host_name:7058'
},
//微信商城 7058 mall-ui , 7080 new-mall-ui
mallH5Host: 'http://target_host_name:7080',
msgDb: {
host: '192.168.4.3',
user: 'qa',
password: 'qatest',
database: 'msg'
},
xyqbOfflineApiServer:{
root: 'http://target_host_name:7010'
},
jd: {
root: 'http://mock.q-gp.com'
},
userCenterApiServer: {
root: 'http://target_host_name:7042'
},
// 积分系统
score: {
root: 'http://target_host_name:7056',
h5Host: 'http://target_host_name:7051'
},
//个人中心优惠券地址
baseUI: {
host: 'http://target_host_name:7051'
},
//运营系统优化添加配置
rabbitMQ: {
host: 'target_host_name',
user: 'qa',
password: 'qatest'
},
userCreditApiServer: {
root: 'http://target_host_name:7079'
}
};
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