fastGptChatQuestionStatistics.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. import request from '@/utils/request'
  2. // 查询高频聊天问题统计列表
  3. export function listFastGptChatQuestionStatistics(query) {
  4. return request({
  5. url: '/fastGpt/fastGptChatQuestionStatistics/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询高频聊天问题统计详细
  11. export function getFastGptChatQuestionStatistics(id) {
  12. return request({
  13. url: '/fastGpt/fastGptChatQuestionStatistics/' + id,
  14. method: 'get'
  15. })
  16. }
  17. // 新增高频聊天问题统计
  18. export function addFastGptChatQuestionStatistics(data) {
  19. return request({
  20. url: '/fastGpt/fastGptChatQuestionStatistics',
  21. method: 'post',
  22. data: data
  23. })
  24. }
  25. // 修改高频聊天问题统计
  26. export function updateFastGptChatQuestionStatistics(data) {
  27. return request({
  28. url: '/fastGpt/fastGptChatQuestionStatistics',
  29. method: 'put',
  30. data: data
  31. })
  32. }
  33. // 删除高频聊天问题统计
  34. export function delFastGptChatQuestionStatistics(id) {
  35. return request({
  36. url: '/fastGpt/fastGptChatQuestionStatistics/' + id,
  37. method: 'delete'
  38. })
  39. }
  40. // 导出高频聊天问题统计
  41. export function exportFastGptChatQuestionStatistics(query) {
  42. return request({
  43. url: '/fastGpt/fastGptChatQuestionStatistics/export',
  44. method: 'get',
  45. params: query
  46. })
  47. }
  48. // 查询高频聊天问题统计-问题明细列表(接口待定)
  49. export function listFastGptChatQuestionStatisticsDetail(query) {
  50. return request({
  51. url: '/fastGpt/fastGptChatQuestionStatistics/detail/list',
  52. method: 'get',
  53. params: query
  54. })
  55. }
  56. // 新增高频聊天销售回复
  57. export function saveFastGptChatQuestionStatisticsSalesReply(data) {
  58. return request({
  59. url: '/fastGpt/fastGptChatQuestionStatistics/question/reply',
  60. method: 'put',
  61. data: data
  62. })
  63. }