AI销管
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

88 rader
2.7 KiB

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