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.
 
 
 

70 lines
2.1 KiB

  1. import { host, iMServiceHost } from './utils/domain.js'
  2. var config = {
  3. service: {
  4. host,
  5. iMServiceHost,
  6. getStage:`${host}/customer/getStage`,
  7. //验证toen
  8. verify:`${host}/user/verify`,
  9. //登录
  10. login: `${host}/user/login`,
  11. //获取用户信息
  12. getUser: `${host}/user/getUser`,
  13. //获取权限
  14. getMenu:`${host}/user/getMenu`,
  15. //发送验证码
  16. sendCode:`${host}/user/sendCode`,
  17. //验证码校验
  18. plogin:`${host}/user/plogin`,
  19. //忘记密码
  20. forgotPassword:`${host}/user/forgotPassword`,
  21. //修改密码
  22. updatePassword: `${host}/user/resetPwd`,
  23. //修改用户信息
  24. upload: `${host}/user/update`,
  25. // 上传头像
  26. uploadHeadImg:`${host}/user/uploadHeadPortrait`,
  27. //分点学习标签
  28. findSelectedLabel:`${host}/addtodigest/findSelectedLabel`,
  29. //获取全部学习
  30. findAllZATD:`${host}/addtodigest/findAllZATD`,
  31. //查询点赞列表
  32. likegetLike:`${host}/like/getLike`,
  33. // 获取评论
  34. cmmentList:`${host}/comment/list`,
  35. // 新增评论
  36. saveCmment:`${host}/comment/saveCmment`,
  37. // 新增文件评论
  38. saveCmmentUpload:`${host}/comment/upload`,
  39. // 点赞
  40. saveLike:`${host}/like/saveLike`,
  41. // 取消点赞
  42. cancelLike:`${host}/like/cancelLike`,
  43. //同音转译接口3
  44. getCorpusAnal: `${host}/corpus/splicAudioPlay`,
  45. //转写内容获取快进时间是第几个文件
  46. fastForward:`${host}/corpus/fastForward`,
  47. //标记顾问
  48. markConsultant:`${host}/corpus/markConsultant`,
  49. //同音转译接口
  50. getSpeechAnalysis: `${host}/cms/mobile/getBytargetId`,
  51. //同音转译接口2
  52. getCorpusAnalysis: `${host}/corpus/audioPlay`,
  53. //查询设备电量
  54. findElectricity:`${host}/equipment/findElectricity`,
  55. //首页设备查询
  56. findEquipmentState:`${host}/cusLvStatistics/findEquipmentState`,
  57. //首页实时统计
  58. realTimeStatistics:`${host}/cusLvStatistics/realTimeStatistics`,
  59. //首页本周工作
  60. workThisWeek:`${host}/cusLvStatistics/workThisWeek`,
  61. //查询是否开启选择顾问权限
  62. getSelfAssignedByHouseId:`${host}/user/getSelfAssignedByHouseId`,
  63. //确认加精
  64. addATD:`${host}/addtodigest/addATD`,
  65. //取消加精
  66. delATD:`${host}/addtodigest/delATD`,
  67. }
  68. };
  69. module.exports = config;