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.

config.js 2.6 KiB

há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. saveCmmentUpload:`${host}/comment/upload`,
  43. // 点赞
  44. saveLike:`${host}/like/saveLike`,
  45. // 取消点赞
  46. cancelLike:`${host}/like/cancelLike`,
  47. //同音转译接口3
  48. getCorpusAnal: `${host}/corpus/splicAudioPlay`,
  49. //转写内容获取快进时间是第几个文件
  50. fastForward:`${host}/corpus/fastForward`,
  51. //标记顾问
  52. markConsultant:`${host}/corpus/markConsultant`,
  53. //同音转译接口
  54. getSpeechAnalysis: `${host}/cms/mobile/getBytargetId`,
  55. //同音转译接口2
  56. getCorpusAnalysis: `${host}/corpus/audioPlay`,
  57. //查询设备电量
  58. findElectricity:`${host}/equipment/findElectricity`,
  59. //首页设备查询
  60. findEquipmentState:`${host}/cusLvStatistics/findEquipmentState`,
  61. //首页实时统计
  62. realTimeStatistics:`${host}/cusLvStatistics/realTimeStatistics`,
  63. //首页本周工作
  64. workThisWeek:`${host}/cusLvStatistics/workThisWeek`,
  65. //查询是否开启选择顾问权限
  66. getSelfAssignedByHouseId:`${host}/user/getSelfAssignedByHouseId`,
  67. //确认加精
  68. addATD:`${host}/addtodigest/addATD`,
  69. //取消加精
  70. delATD:`${host}/addtodigest/delATD`,
  71. // 升级公告
  72. updateList: `${host}/zkMessage/messageList`,
  73. // 升级公告更新阅读
  74. updateRead: `${host}/zkMessage/updateFlag`,
  75. //消息未读数
  76. notReadNum: `${host}/zkMessage/findFlagCount`,
  77. // 隐私协议
  78. privacyAgr: `${host}/zkPrivate/findById`,
  79. }
  80. };
  81. module.exports = config;