config.dev.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. "use strict";
  2. // 三师后台数据库配置
  3. var wlyyDbConfig = {
  4. host: '172.19.103.77',
  5. user: 'root',
  6. password: '123456',
  7. database: 'wlyy',
  8. connectionLimit: '50'
  9. };
  10. // IM数据库配置
  11. var imDbConfig = {
  12. host: '172.19.103.77',
  13. user: 'root',
  14. password: '123456',
  15. database: 'im_new',
  16. connectionLimit: '50'
  17. };
  18. // 三师后台
  19. var wlyyServerConfig = {
  20. host: '172.19.103.87',
  21. port: 9092
  22. };
  23. // 加密配置
  24. var crypto = {
  25. algorithm: ''
  26. };
  27. // 透传服务
  28. var transServerConfig = {
  29. host: '172.19.103.76',
  30. port: 8000
  31. };
  32. // 企业版的推送配置
  33. var geTuiConfig = {
  34. HOST: 'https://api.getui.com/apiex.htm',
  35. APPID: 'qWmRh2X88l7HuE36z3qBe8',
  36. APPKEY: 'EzERfV8c849lBkZqHWzQG1',
  37. MASTERSECRET: 'veXiajQrId6iojy7Qv8kZ2'
  38. };
  39. // AppStore版的推送App配置
  40. var geTuiAppStoreCfg = {
  41. HOST : 'https://api.getui.com/apiex.htm',
  42. APPID : 'H6FYbDejks6VjMmW3uH7V6',
  43. APPKEY : '0PFWlKmLBN9YzhCfFWVgYA',
  44. MASTERSECRET : 'pvjCGtRZJx9SRVODkxc816'
  45. };
  46. exports.app = 'IM.Server';
  47. exports.version = '1.0.5.20161107';
  48. exports.debug = true;
  49. exports.serverPort = 3000;
  50. exports.sessionExpire = 1800;
  51. exports.showSQL = true;
  52. exports.wlyyDbConfig = wlyyDbConfig;
  53. exports.imDbConfig = imDbConfig;
  54. exports.geTuiConfig = geTuiConfig;
  55. exports.geTuiAppStoreCfg = geTuiAppStoreCfg;
  56. exports.wlyyServerConfig = wlyyServerConfig;
  57. exports.transServerConfig = transServerConfig;
  58. exports.crypto = crypto;