config.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. "use strict";
  2. var mysql_wlyy_cfg =
  3. {
  4. host : '172.19.103.77',
  5. user : 'root',
  6. password : '123456',
  7. database : 'wlyy',
  8. connectionLimit : '50'
  9. };
  10. var mysql_im_cfg =
  11. {
  12. host : '172.19.103.77',
  13. user : 'root',
  14. password : '123456',
  15. database : 'im_new',
  16. connectionLimit : '50'
  17. };
  18. //企业版的推送App配置
  19. var getui_cfg =
  20. {
  21. //http
  22. //HOST : 'http://sdk.open.api.igexin.com/apiex.htm',
  23. //https
  24. HOST : 'https://api.getui.com/apiex.htm',
  25. APPID : 'qWmRh2X88l7HuE36z3qBe8',
  26. APPKEY : 'EzERfV8c849lBkZqHWzQG1',
  27. MASTERSECRET : 'veXiajQrId6iojy7Qv8kZ2'
  28. };
  29. //AppStore版的推送App配置
  30. var getui_appstore_cfg =
  31. {
  32. //http
  33. //HOST : 'http://sdk.open.api.igexin.com/apiex.htm',
  34. //https
  35. HOST : 'https://api.getui.com/apiex.htm',
  36. APPID : 'H6FYbDejks6VjMmW3uH7V6',
  37. APPKEY : '0PFWlKmLBN9YzhCfFWVgYA',
  38. MASTERSECRET : 'pvjCGtRZJx9SRVODkxc816'
  39. };
  40. var app_serer_cfg =
  41. {
  42. hostname: '172.19.103.87',
  43. port: 9090,
  44. path: '/wlyy/doctor/message/amount',
  45. method: 'POST'
  46. };
  47. exports.app = 'push_server';
  48. exports.version = '1.0.5.20160922';
  49. exports.debug = true;
  50. exports.http_port = 3000;
  51. exports.session_expire = 1800;// s
  52. exports.mysql_wlyy_cfg = mysql_wlyy_cfg;
  53. exports.mysql_im_cfg = mysql_im_cfg;
  54. exports.getui_cfg = getui_cfg;
  55. exports.getui_appstore_cfg = getui_appstore_cfg;
  56. exports.app_serer_cfg = app_serer_cfg;