userInfo.js 783 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import {
  2. myRequest
  3. } from '../request.js'
  4. export default {
  5. //修改客户端用户
  6. appuserInfo(data) {
  7. return myRequest({
  8. url: '/app/user/edit',
  9. method: 'post',
  10. data: data,
  11. })
  12. },
  13. appInfoAttached(data) {
  14. return myRequest({
  15. url: '/app/user/infoAttached',
  16. method: 'get',
  17. data: data,
  18. })
  19. },
  20. getSchoolInfo(data) {
  21. return myRequest({
  22. url: '/school/info/getInfo',
  23. method: 'get',
  24. data: data,
  25. })
  26. },
  27. updateSchoolInfo(data) {
  28. return myRequest({
  29. url: '/school/info/edit',
  30. method: 'post',
  31. data: data,
  32. })
  33. },
  34. getUserBuy(data) {
  35. return myRequest({
  36. url: '/system/user/list',
  37. method: 'get',
  38. data: data,
  39. })
  40. },
  41. rankList(data) {
  42. return myRequest({
  43. url: '/app/user/rankingList',
  44. method: 'get',
  45. data: data,
  46. })
  47. },
  48. }