AI销管
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2 年前
2 年前
2 年前
2 年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. privacyAgr: `${host}/zkPrivate/findById`,
  77. }
  78. };
  79. module.exports = config;