AI销管
Você não pode selecionar mais de 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.
 
 
 
 

102 linhas
3.0 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. findAudioContent: `${host}/corpus/findAudioContent`,
  61. //转写内容获取快进时间是第几个文件
  62. fastForward: `${host}/corpus/fastForward`,
  63. //标记顾问
  64. markConsultant: `${host}/corpus/markConsultant`,
  65. //同音转译接口
  66. getSpeechAnalysis: `${host}/cms/mobile/getBytargetId`,
  67. //同音转译接口2
  68. getCorpusAnalysis: `${host}/corpus/audioPlay`,
  69. // 获取转写内容
  70. findAudioContent: `${host}/corpus/findAudioContent`,
  71. //查询设备电量
  72. findElectricity: `${host}/equipment/findElectricity`,
  73. //首页设备查询
  74. findEquipmentState: `${host}/cusLvStatistics/findEquipmentState`,
  75. //首页实时统计
  76. realTimeStatistics: `${host}/cusLvStatistics/realTimeStatistics`,
  77. //首页本周工作
  78. workThisWeek: `${host}/cusLvStatistics/workThisWeek`,
  79. //查询是否开启选择顾问权限
  80. getSelfAssignedByHouseId: `${host}/user/getSelfAssignedByHouseId`,
  81. //确认加精
  82. addATD: `${host}/addtodigest/addATD`,
  83. //取消加精
  84. delATD: `${host}/addtodigest/delATD`,
  85. // 升级公告
  86. updateList: `${host}/zkMessage/messageList`,
  87. // 升级公告更新阅读
  88. updateRead: `${host}/zkMessage/updateFlag`,
  89. //消息未读数
  90. notReadNum: `${host}/zkMessage/findFlagCount`,
  91. // 隐私协议
  92. privacyAgr: `${host}/zkPrivate/findById`,
  93. addLookingCount: `${hostAdmin}/log/addLookingCount`,
  94. }
  95. };
  96. module.exports = config;