You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

84 regels
2.6 KiB

  1. /**
  2. * 小程序配置文件
  3. */
  4. // 此处主机域名修改成腾讯云解决方案分配的域名
  5. var host = 'http://39.97.167.65/autoSR/api'; // 测试站
  6. var hosts = 'http://39.97.167.65/'; // 测试站
  7. // var host = 'http://192.168.31.134:9999/autoSR/api'; // 佳豪
  8. // var hosts = 'http://192.168.31.134:9999/'; // 佳豪
  9. // var host = 'http://8kdmng.natappfree.cc/autoSR/api'; // 佳豪
  10. // var hosts = 'http://8kdmng.natappfree.cc/'; // 佳豪
  11. var iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式
  12. var config = {
  13. service: {
  14. host,
  15. iMServiceHost,
  16. getStage:`${host}/customer/getStage`,
  17. //验证toen
  18. verify:`${host}/user/verify`,
  19. //登录
  20. login: `${hosts}auth/oauth/token`,
  21. //获取用户信息
  22. getUser: `${host}/user/getUser`,
  23. //获取权限
  24. getMenu:`${hosts}admin/menu/getMenu`,
  25. //发送验证码
  26. sendCode:`${hosts}admin/mobile`,
  27. //验证码校验
  28. plogin:`${hosts}auth/mobile/token/sms`,
  29. //忘记密码
  30. forgotPassword:`${hosts}admin/user/forgotPassword`,
  31. //修改密码
  32. updatePassword: `${host}/user/resetPwd`,
  33. //修改用户信息
  34. upload: `${host}/user/update`,
  35. // 上传头像
  36. uploadHeadImg:`${host}/user/uploadHeadPortrait`,
  37. //分点学习标签
  38. findSelectedLabel:`${host}/addtodigest/findSelectedLabel`,
  39. //获取全部学习
  40. findAllZATD:`${host}/addtodigest/findAllZATD`,
  41. //查询点赞列表
  42. likegetLike:`${host}/like/getLike`,
  43. // 获取评论
  44. cmmentList:`${host}/comment/list`,
  45. // 新增评论
  46. saveCmment:`${host}/comment/saveCmment`,
  47. // 新增文件评论
  48. saveCmmentUpload:`${host}/comment/upload`,
  49. // 点赞
  50. saveLike:`${host}/like/saveLike`,
  51. // 取消点赞
  52. cancelLike:`${host}/like/cancelLike`,
  53. //同音转译接口3
  54. getCorpusAnal: `${host}/corpus/splicAudioPlay`,
  55. //转写内容获取快进时间是第几个文件
  56. fastForward:`${host}/corpus/fastForward`,
  57. //标记顾问
  58. markConsultant:`${host}/corpus/markConsultant`,
  59. //同音转译接口
  60. getSpeechAnalysis: `${host}/cms/mobile/getBytargetId`,
  61. //同音转译接口2
  62. getCorpusAnalysis: `${host}/corpus/audioPlay`,
  63. //查询设备电量
  64. findElectricity:`${host}/equipment/findElectricity`,
  65. //首页设备查询
  66. findEquipmentState:`${host}/cusLvStatistics/findEquipmentState`,
  67. //首页实时统计
  68. realTimeStatistics:`${host}/cusLvStatistics/realTimeStatistics`,
  69. //首页本周工作
  70. workThisWeek:`${host}/cusLvStatistics/workThisWeek`,
  71. //查询是否开启选择顾问权限
  72. getSelfAssignedByHouseId:`${host}/user/getSelfAssignedByHouseId`,
  73. //确认加精
  74. addATD:`${host}/addtodigest/addATD`,
  75. //取消加精
  76. delATD:`${host}/addtodigest/delATD`,
  77. }
  78. };
  79. module.exports = config;