AI销管
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

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