AI销管
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.
 
 
 
 

97 regels
2.8 KiB

  1. import {
  2. host,
  3. hosts,
  4. iMServiceHost,
  5. admin,
  6. base,
  7. hostAdmin
  8. } from './utils/domain.js'
  9. var config = {
  10. service: {
  11. host,
  12. iMServiceHost,
  13. getView: `${host}/autoSR/api/addtodigest/addPageviews`,
  14. addLog: `${base}/admin/log/addLoginCount`,
  15. getStage: `${host}/customer/getStage`,
  16. //验证toen
  17. verify: `${host}/user/verify`,
  18. //登录
  19. login: `${hosts}auth/oauth/token`,
  20. logout: `${hosts}auth/token/logout`,
  21. findListByUser: `${hosts}admin/dept/findListByUser`,
  22. //获取用户信息
  23. getUser: `${host}/user/getUser`,
  24. //获取权限
  25. getMenu: `${hosts}admin/menu/getMenu`,
  26. //发送验证码
  27. sendCode: `${hosts}admin/mobile`,
  28. //验证码校验
  29. plogin: `${hosts}auth/mobile/token/sms`,
  30. //忘记密码
  31. forgotPassword: `${hosts}admin/user/forgotPassword`,
  32. //修改密码
  33. updatePassword: `${host}/user/resetPwd`,
  34. //修改用户信息
  35. upload: `${host}/user/update`,
  36. // 上传头像
  37. uploadHeadImg: `${host}/user/uploadHeadPortrait`,
  38. //分点学习标签
  39. findSelectedLabel: `${host}/addtodigest/findSelectedLabel`,
  40. //获取全部学习
  41. findAllZATD: `${host}/addtodigest/findAllZATD`,
  42. //查询点赞列表
  43. likegetLike: `${host}/like/getLike`,
  44. // 获取评论
  45. cmmentList: `${host}/comment/list`,
  46. // 新增评论
  47. saveCmment: `${host}/comment/saveCmment`,
  48. // 获取客户来源列表
  49. sourceList: `${host}/customer/sourceList`,
  50. // 新增文件评论
  51. saveCmmentUpload: `${host}/comment/upload`,
  52. // 点赞
  53. saveLike: `${host}/like/saveLike`,
  54. // 取消点赞
  55. cancelLike: `${host}/like/cancelLike`,
  56. //同音转译接口3
  57. getCorpusAnal: `${host}/corpus/splicAudioPlay`,
  58. //转写内容获取快进时间是第几个文件
  59. fastForward: `${host}/corpus/fastForward`,
  60. //标记顾问
  61. markConsultant: `${host}/corpus/markConsultant`,
  62. //同音转译接口
  63. getSpeechAnalysis: `${host}/cms/mobile/getBytargetId`,
  64. //同音转译接口2
  65. getCorpusAnalysis: `${host}/corpus/audioPlay`,
  66. //查询设备电量
  67. findElectricity: `${host}/equipment/findElectricity`,
  68. //首页设备查询
  69. findEquipmentState: `${host}/cusLvStatistics/findEquipmentState`,
  70. //首页实时统计
  71. realTimeStatistics: `${host}/cusLvStatistics/realTimeStatistics`,
  72. //首页本周工作
  73. workThisWeek: `${host}/cusLvStatistics/workThisWeek`,
  74. //查询是否开启选择顾问权限
  75. getSelfAssignedByHouseId: `${host}/user/getSelfAssignedByHouseId`,
  76. //确认加精
  77. addATD: `${host}/addtodigest/addATD`,
  78. //取消加精
  79. delATD: `${host}/addtodigest/delATD`,
  80. // 升级公告
  81. updateList: `${host}/zkMessage/messageList`,
  82. // 升级公告更新阅读
  83. updateRead: `${host}/zkMessage/updateFlag`,
  84. //消息未读数
  85. notReadNum: `${host}/zkMessage/findFlagCount`,
  86. // 隐私协议
  87. privacyAgr: `${host}/zkPrivate/findById`,
  88. addLookingCount: `${hostAdmin}/log/addLookingCount`,
  89. }
  90. };
  91. module.exports = config;