userInfo.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. // 修改用户活动邀请码
  14. shareActivityCode(data) {
  15. return myRequest({
  16. url: '/app/user/edit/shareActivityCode',
  17. method: 'post',
  18. data: data,
  19. })
  20. },
  21. appInfoAttached(data) {
  22. return myRequest({
  23. url: '/app/user/infoAttached',
  24. method: 'get',
  25. data: data,
  26. })
  27. },
  28. getSchoolInfo(data) {
  29. return myRequest({
  30. url: '/school/info/getInfo',
  31. method: 'get',
  32. data: data,
  33. })
  34. },
  35. updateSchoolInfo(data) {
  36. return myRequest({
  37. url: '/school/info/edit',
  38. method: 'post',
  39. data: data,
  40. })
  41. },
  42. getUserBuy(data) {
  43. return myRequest({
  44. url: '/system/user/list',
  45. method: 'get',
  46. data: data,
  47. })
  48. },
  49. rankList(data) {
  50. return myRequest({
  51. url: '/app/user/rankingList',
  52. method: 'get',
  53. data: data,
  54. })
  55. },
  56. getUserSubscribeRecentExam(data) {
  57. return myRequest({
  58. url: '/user/subscribe/recentExam',
  59. method: 'get',
  60. data: data,
  61. })
  62. },
  63. userConfirmInfoDetail(data) {
  64. return myRequest({
  65. url: '/user/confirm/info/detail',
  66. method: 'GET',
  67. data: data,
  68. })
  69. },
  70. userConfirminfo(data) {
  71. return myRequest({
  72. url: '/user/confirm/info',
  73. method: 'post',
  74. data: data,
  75. })
  76. },
  77. }