Commit 540ceb63 authored by daidekun's avatar daidekun

app

parent 76badc16
'use strict';
module.exports = {
// disableAuthentication: true,
port: 7018,
hostname: 'http://target_host_name:7018',
ip: process.env.OPENSHIFT_NODEJS_IP || process.env.IP || undefined,
port: 80,
hostname: 'https://appbackend.xyqb.com',
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',
usercenter: {
host: db,
user: 'qa',
password: 'qatest',
database: 'xyqb_user'
},
db: {
host: db,
user: 'qa',
password: 'qatest'
database: 'xyqb'
},
coreDb: {
host: 'target_host_name',
host: db,
user: 'qa',
password: 'qatest',
database: 'xyqb_app'
},
mallDb: {
host: 'target_host_name',
host: db,
user: 'qa',
password: 'qatest',
database: 'mall'
},
usercenter: {
host: 'target_host_name',
msgDb: {
host: db,
user: 'qa',
password: 'qatest',
database: 'xyqb_user'
database: 'msg'
},
redis: {
host: 'target_host_name',
host: redis,
port: '6379'
},
jd: {
root: 'https://router.jd.com'
},
xyqbQuery: {
root: 'http://target_host_name:7033'
root: 'http://query.xyqb.com'
},
defaultCaptcha: '000000', // 测试环境短信验证码
userServer: {
// 函谷关
//host: 'http://target_host_name:7013'
//用户中心
host:'http://target_host_name:7042'
//host: 'http://auth.xyqb.com' // 密码登录
host: 'http://passportapi.xyqb.com' //函谷关迁移至用户中心
},
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:{
//老版授信
root: 'http://target_host_name:7021',
//新版授信
host: 'http://139.198.2.95:38099'
root: 'http://scapi.xyqb.com',
host: 'https://auth.quantgroup.cn', //this is v2
},
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'
root: 'http://api.xyqb.com',
loginUrl: 'http://passportapi.xyqb.com/app/login2' // 免密登录,函谷关迁移至用户中心
},
blankNote: {
root: 'http://target_host_name:7025',
clientIp: '61.50.125.14'
root: 'http://btapi.xyqb.com'
},
opBackend: {
root: 'http://displayapi.xyqb.com'
},
mall: {
root: 'http://target_host_name:7019',
authRoot: 'http://target_host_name:7019',
//authMallUser: true,
root: 'http://mallapi.xyqb.com',
authRoot: 'http://mallapi.xyqb.com',
clientIp: '61.50.125.14', // 公司的外网IP
//enableMultipleOrderPerMonth: false
jd:{
jd: {
app_key: '319e864090664a499ee6417b9e243f62'
}
},
op: {
root: 'http://mallapi.xyqb.com',
},
score: { //积分系统
root: 'http://scoreapi.xyqb.com',
},
redPacket: { // 红包系统
root: 'http://redpacket.xyqb.com',
},
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'
root: 'http://api.xyqb.com',
rootscore:'http://rapi.xyqb.com'
}
},
activities: {
repaymentLottery: {
url: 'http://wechat.xyqb.com/turntable.html'
url: 'https://wechat.xyqb.com/turntable.html'
},
redEnvelop: {
startAt: '2016-03-15',
......@@ -113,60 +123,25 @@ module.exports = {
}
},
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'
h5Host: 'https://m.xyqb.com'
},
blanknote: {
h5Host: 'http://target_host_name:7058'
h5Host: 'https://bt.xyqb.com'
},
mallH5Host: 'https://new-mall.xyqb.com',
//微信商城 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'
activity: {
h5Host: 'https://activity.xyqb.com'
},
//个人中心优惠券地址
baseUI: {
host: 'http://target_host_name:7051'
host: 'https://h5.xyqb.com'
},
//运营系统优化添加配置
rabbitMQ: {
host: 'target_host_name',
host: redis,
user: 'qa',
password: 'qatest'
},
userCreditApiServer: {
root: 'http://target_host_name:7079'
}
userCreditApiServer: {
root: 'http://member.xyqb.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