config.prod.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. "use strict";
  2. let wlyyDbConfig = {
  3. host: '59.61.92.94',
  4. user: 'wlyy',
  5. password: 'jkzlehr@123',
  6. database: 'wlyy',
  7. connectionLimit: '100'
  8. };
  9. let imDbConfig = {
  10. host: '59.61.92.94',
  11. user: 'wlyy',
  12. password: 'jkzlehr@123',
  13. database: 'wlyy',
  14. connectionLimit: '100'
  15. };
  16. // 企业版的推送配置
  17. let geTuiConfig = {
  18. HOST: 'https://api.getui.com/apiex.htm',
  19. APPID: 'qWmRh2X88l7HuE36z3qBe8',
  20. APPKEY: 'EzERfV8c849lBkZqHWzQG1',
  21. MASTERSECRET: 'veXiajQrId6iojy7Qv8kZ2'
  22. };
  23. //AppStore版的推送App配置
  24. let geTuiAppStoreCfg = {
  25. HOST: 'https://api.getui.com/apiex.htm',
  26. APPID: 'H6FYbDejks6VjMmW3uH7V6',
  27. APPKEY: '0PFWlKmLBN9YzhCfFWVgYA',
  28. MASTERSECRET: 'pvjCGtRZJx9SRVODkxc816'
  29. };
  30. // 三师后台
  31. let wlyyServerConfig = {
  32. host: '120.41.252.108',
  33. port: 9660
  34. };
  35. // 透传服务
  36. let transServerConfig = {
  37. host: '120.41.253.95',
  38. port: 3030
  39. };
  40. // 微信配置
  41. let wechatConfig = {
  42. appId: 'wxad04e9c4c5255acf'
  43. , appSecret: 'ae77c48ccf1af5d07069f5153d1ac8d3'
  44. , token: '27eb3bb24f149a7760cf1bb154b08040'
  45. , baseUrl: 'www.xmtyw.cn/wlyy'
  46. , template: {
  47. // 咨询回复模板
  48. consultTemplate: '0mF_vHj-ILx8EH8DwzmAi7LqzjqYiU9IrSRRmziTZyc'
  49. }
  50. };
  51. exports.app = 'im.server';
  52. exports.version = '1.2.7';
  53. exports.debug = true;
  54. exports.serverPort = 3000;
  55. exports.sessionExpire = 1800;
  56. exports.showSQL = false;
  57. exports.wlyyDbConfig = wlyyDbConfig;
  58. exports.imDbConfig = imDbConfig;
  59. exports.geTuiConfig = geTuiConfig;
  60. exports.geTuiAppStoreCfg = geTuiAppStoreCfg;
  61. exports.wlyyServerConfig = wlyyServerConfig;
  62. exports.transServerConfig = transServerConfig;
  63. exports.wechatConfig = wechatConfig;