|
@ -1,23 +1,23 @@
|
|
|
"use strict";
|
|
|
|
|
|
let wlyyDbConfig = {
|
|
|
host: '120.41.251.85',
|
|
|
user: 'root',
|
|
|
password: 't_s_6_7$1',
|
|
|
database: 'wlyy_test',
|
|
|
var wlyyDbConfig = {
|
|
|
host: '172.17.110.160',
|
|
|
user: 'ssgg',
|
|
|
password: 'ssgg',
|
|
|
database: 'wlyy',
|
|
|
connectionLimit: '100'
|
|
|
};
|
|
|
|
|
|
let imDbConfig = {
|
|
|
host: 'localhost',
|
|
|
user: 'root',
|
|
|
password: '19991120',
|
|
|
database: 'im_test',
|
|
|
var imDbConfig = {
|
|
|
host: '172.17.110.160',
|
|
|
user: 'ssgg',
|
|
|
password: 'ssgg',
|
|
|
database: 'im_new',
|
|
|
connectionLimit: '100'
|
|
|
};
|
|
|
|
|
|
// 企业版的推送配置
|
|
|
let geTuiConfig = {
|
|
|
var geTuiConfig = {
|
|
|
HOST: 'https://api.getui.com/apiex.htm',
|
|
|
APPID: 'qWmRh2X88l7HuE36z3qBe8',
|
|
|
APPKEY: 'EzERfV8c849lBkZqHWzQG1',
|
|
@ -25,44 +25,32 @@ let geTuiConfig = {
|
|
|
};
|
|
|
|
|
|
//AppStore版的推送App配置
|
|
|
let geTuiAppStoreCfg = {
|
|
|
HOST: 'https://api.getui.com/apiex.htm',
|
|
|
APPID: 'H6FYbDejks6VjMmW3uH7V6',
|
|
|
APPKEY: '0PFWlKmLBN9YzhCfFWVgYA',
|
|
|
MASTERSECRET: 'pvjCGtRZJx9SRVODkxc816'
|
|
|
var geTuiAppStoreCfg = {
|
|
|
HOST : 'https://api.getui.com/apiex.htm',
|
|
|
APPID : 'H6FYbDejks6VjMmW3uH7V6',
|
|
|
APPKEY : '0PFWlKmLBN9YzhCfFWVgYA',
|
|
|
MASTERSECRET : 'pvjCGtRZJx9SRVODkxc816'
|
|
|
};
|
|
|
|
|
|
// 三师后台
|
|
|
let wlyyServerConfig = {
|
|
|
host: '172.19.103.87',
|
|
|
port: 9090
|
|
|
var wlyyServerConfig = {
|
|
|
host: '172.19.103.88',
|
|
|
port: 9092
|
|
|
};
|
|
|
|
|
|
// 透传服务
|
|
|
let transServerConfig = {
|
|
|
var transServerConfig = {
|
|
|
host: '172.19.103.76',
|
|
|
port: 8000
|
|
|
};
|
|
|
|
|
|
// 微信配置
|
|
|
let wechatConfig = {
|
|
|
appId: 'wx1f129f7b51701428'
|
|
|
, appSecret: '988f005d8309ed1795939e0f042431fb'
|
|
|
, token: '27eb3bb24f149a7760cf1bb154b08040'
|
|
|
, baseUrl: 'ehr.yihu.com/wlyy'
|
|
|
, template: {
|
|
|
// 咨询回复模板
|
|
|
consultTemplate: '-dr4QNyFoRvVsf8uWxXMC1dRyjwnbUuJwJ21vBLhf18'
|
|
|
}
|
|
|
};
|
|
|
|
|
|
exports.app = 'im.server';
|
|
|
exports.version = '1.2.7';
|
|
|
exports.version = '1.0.2.20160805';
|
|
|
exports.debug = true;
|
|
|
exports.serverPort = 3000;
|
|
|
exports.sessionExpire = 1800;
|
|
|
|
|
|
exports.showSQL = true;
|
|
|
exports.showSQL= true;
|
|
|
exports.wlyyDbConfig = wlyyDbConfig;
|
|
|
exports.imDbConfig = imDbConfig;
|
|
|
|