AI销管
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

config.js 2.2 KiB

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