config.prod.js 1.7 KB

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