AI销管
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

76 lines
2.3 KiB

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