userInfo.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. getUserSubscribeRecentExam(data) {
  49. return myRequest({
  50. url: '/user/subscribe/recentExam',
  51. method: 'get',
  52. data: data,
  53. })
  54. },
  55. userConfirmInfoDetail(data) {
  56. return myRequest({
  57. url: '/user/confirm/info/detail',
  58. method: 'GET',
  59. data: data,
  60. })
  61. },
  62. userConfirminfo(data) {
  63. return myRequest({
  64. url: '/user/confirm/info',
  65. method: 'post',
  66. data: data,
  67. })
  68. },
  69. }