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.
 
 
 

85 satır
2.6 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. sourceList: `${host}/customer/sourceList`,
  69. // 隐私协议
  70. privacyAgr: `${host}/zkPrivate/findById`,
  71. // 升级公告
  72. updateList: `${host}/zkMessage/messageList`,
  73. // 升级公告更新阅读
  74. updateRead: `${host}/zkMessage/updateFlag`,
  75. //首页更新弹框
  76. updatePopup: `${host}/zkMessage/showMessage`,
  77. //首页首次更新弹框
  78. firstShowPopup: `${host}/zkMessage/firstShow`,
  79. //消息未读数
  80. notReadNum: `${host}/zkMessage/findFlagCount`,
  81. }
  82. };
  83. module.exports = config;