note.js 682 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import {
  2. myRequest
  3. } from '../request.js'
  4. export default {
  5. noteList(data) {
  6. return myRequest({
  7. url: '/user/note/listDate',
  8. method: 'get',
  9. data: data
  10. })
  11. },
  12. postNote(data) {
  13. return myRequest({
  14. url: '/user/note',
  15. method: 'post',
  16. data: data
  17. })
  18. },
  19. delNote(data) {
  20. return myRequest({
  21. url: '/user/note/edit',
  22. method: 'post',
  23. data: data
  24. })
  25. },
  26. consultationlist(data) {
  27. return myRequest({
  28. url: '/app/consultation/list',
  29. method: 'get',
  30. data: data,
  31. noToken: true,
  32. })
  33. },
  34. consultationdetails(data) {
  35. return myRequest({
  36. url: `/app/consultation/details/` + data,
  37. method: 'get',
  38. noToken: true,
  39. })
  40. },
  41. }