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.

45 lines
884 B

4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
  1. import { http } from '@/utils/http.js'
  2. const baseURL = "http://39.101.133.168:8828"
  3. //图片上传
  4. export const uploadImageApi = (data) => {
  5. return http({
  6. method: 'POST',
  7. url: baseURL +'/hljw/api/aws/upload',
  8. data
  9. })
  10. }
  11. //问题回答
  12. export const getAnswerApi = (data) => {
  13. return http({
  14. method: 'POST',
  15. url: '/api/customer/askQuestion',
  16. data
  17. })
  18. }
  19. //获取随机5条猜你想问问题
  20. export const getQuestionApi = (data) => {
  21. return http({
  22. method: 'GET',
  23. url: '/api/customer/getQuestion',
  24. })
  25. }
  26. //反馈添加
  27. export const addFeedbackRecordApi = (data) => {
  28. return http({
  29. method: 'POST',
  30. url: baseURL +'/link/third/dcFeedBack/feedback/add',
  31. data
  32. })
  33. }
  34. //反馈历史记录
  35. export const getFeedbackRecordsApi = (data) => {
  36. return http({
  37. method: 'POST',
  38. url: baseURL+'/link/third/dcFeedBack/feedback/select',
  39. data
  40. })
  41. }