Commit 540ceb63 authored by daidekun's avatar daidekun

app

parent 76badc16
'use strict'; 'use strict';
module.exports = { module.exports = {
// disableAuthentication: true, ip: process.env.OPENSHIFT_NODEJS_IP || process.env.IP || undefined,
port: 7018, port: 80,
hostname: 'http://target_host_name:7018', hostname: 'https://appbackend.xyqb.com',
secrets: { secrets: {
//session: 'xyqb-app-api-test-0.0.1'
session: process.env.SECRETS_SESSION || 'xyqb-app-api-prod-0.0.1' session: process.env.SECRETS_SESSION || 'xyqb-app-api-prod-0.0.1'
}, },
db: { usercenter: {
host: 'target_host_name', host: db,
user: 'qa', user: 'qa',
password: 'qatest', password: 'qatest',
database: 'xyqb' database: 'xyqb_user'
}, },
coreDb: { db: {
host: 'target_host_name', host: db,
user: 'qa', user: 'qa',
password: 'qatest', password: 'qatest'
database: 'xyqb_app' database: 'xyqb'
}, },
mallDb: { coreDb: {
host: 'target_host_name', host: db,
user: 'qa',
password: 'qatest',
database: 'xyqb_app'
},
mallDb: {
host: db,
user: 'qa',
password: 'qatest',
database: 'mall'
},
msgDb: {
host: db,
user: 'qa', user: 'qa',
password: 'qatest', password: 'qatest',
database: 'mall' database: 'msg'
}, },
redis: {
usercenter: { host: redis,
host: 'target_host_name', port: '6379'
user: 'qa', },
password: 'qatest', jd: {
database: 'xyqb_user' root: 'https://router.jd.com'
},
redis: {
host: 'target_host_name',
port: '6379'
}, },
xyqbQuery: { xyqbQuery: {
root: 'http://target_host_name:7033' root: 'http://query.xyqb.com'
}, },
defaultCaptcha: '000000', // 测试环境短信验证码 userServer: {
userServer: { //host: 'http://auth.xyqb.com' // 密码登录
// 函谷关 host: 'http://passportapi.xyqb.com' //函谷关迁移至用户中心
//host: 'http://target_host_name:7013'
//用户中心
host:'http://target_host_name:7042'
}, },
xyqbapiServer: { xyqbapiServer: {
root: 'http://target_host_name:7003' root: 'http://api.xyqb.com'
},
xyqbOfflineApiServer: {
root: 'http://offapi.xyqb.com'
},
userCenterApiServer: {
root: 'http://passportapi.xyqb.com'
}, },
spiderCenter:{ spiderCenter:{
//老版授信 root: 'http://scapi.xyqb.com',
root: 'http://target_host_name:7021', host: 'https://auth.quantgroup.cn', //this is v2
//新版授信
host: 'http://139.198.2.95:38099'
}, },
loanAPIServer: { loanAPIServer: {
root: 'http://target_host_name:7003', root: 'http://api.xyqb.com',
loginUrl: 'http://target_host_name:7042/app/login2' loginUrl: 'http://passportapi.xyqb.com/app/login2' // 免密登录,函谷关迁移至用户中心
//loginUrl: 'http://target_host_name:7013/app/login'
},
coreServer: {
root: 'http://127.0.0.1:1337'
}, },
blankNote: { blankNote: {
root: 'http://target_host_name:7025', root: 'http://btapi.xyqb.com'
clientIp: '61.50.125.14' },
opBackend: {
root: 'http://displayapi.xyqb.com'
}, },
mall: { mall: {
root: 'http://target_host_name:7019', root: 'http://mallapi.xyqb.com',
authRoot: 'http://target_host_name:7019', authRoot: 'http://mallapi.xyqb.com',
//authMallUser: true,
clientIp: '61.50.125.14', // 公司的外网IP clientIp: '61.50.125.14', // 公司的外网IP
//enableMultipleOrderPerMonth: false jd: {
jd:{ app_key: '319e864090664a499ee6417b9e243f62'
app_key: '319e864090664a499ee6417b9e243f62'
} }
}, },
op: {
root: 'http://mallapi.xyqb.com',
},
score: { //积分系统
root: 'http://scoreapi.xyqb.com',
},
redPacket: { // 红包系统
root: 'http://redpacket.xyqb.com',
},
authorization: { authorization: {
//root: 'http://192.168.4.193:8080/SpiderServer/api',
root: 'http://mock.q-gp.com/SpiderServer/api', root: 'http://mock.q-gp.com/SpiderServer/api',
haoxindu: { haoxindu: {
root: 'http://openapi.quantgroup.cn/qauth' root: 'http://openapi.quantgroup.cn/qauth'
}, },
zhima: { zhima: {
root: 'http://target_host_name:7003', root: 'http://api.xyqb.com',
rootscore:'http://target_host_name:7005' rootscore:'http://rapi.xyqb.com'
} }
}, },
activities: { activities: {
repaymentLottery: { repaymentLottery: {
url: 'http://wechat.xyqb.com/turntable.html' url: 'https://wechat.xyqb.com/turntable.html'
}, },
redEnvelop: { redEnvelop: {
startAt: '2016-03-15', startAt: '2016-03-15',
...@@ -113,60 +123,25 @@ module.exports = { ...@@ -113,60 +123,25 @@ module.exports = {
} }
}, },
loanProcess: { loanProcess: {
h5Host: 'http://target_host_name:7001' h5Host: 'https://m.xyqb.com'
},
op: {
root: 'http://target_host_name:7019',
}, },
redPacket: { // 红包系统 blanknote: {
root: 'http://target_host_name:7031' h5Host: 'https://bt.xyqb.com'
}, },
mallH5Host: 'https://new-mall.xyqb.com',
activity: { activity: {
h5Host: 'http://target_host_name:7040' h5Host: 'https://activity.xyqb.com'
}, },
blanknote: { baseUI: {
h5Host: 'http://target_host_name:7058' host: 'https://h5.xyqb.com'
}, },
rabbitMQ: {
//微信商城 7058 mall-ui , 7080 new-mall-ui host: redis,
mallH5Host: 'http://target_host_name:7080', user: 'qa',
msgDb: { password: 'qatest'
host: '192.168.4.3', },
user: 'qa', userCreditApiServer: {
password: 'qatest', root: 'http://member.xyqb.com'
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