userInfo.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. import { myRequest } from "../request.js";
  2. export default {
  3. //修改客户端用户
  4. appuserInfo(data) {
  5. return myRequest({
  6. url: "/app/user/edit",
  7. method: "post",
  8. data: data,
  9. });
  10. },
  11. // 修改用户活动邀请码
  12. shareActivityCode(data) {
  13. return myRequest({
  14. url: "/app/user/edit/shareActivityCode",
  15. method: "post",
  16. data: data,
  17. });
  18. },
  19. appInfoAttached(data) {
  20. return myRequest({
  21. url: "/app/user/infoAttached",
  22. method: "get",
  23. data: data,
  24. });
  25. },
  26. getSchoolInfo(data) {
  27. return myRequest({
  28. url: "/school/info/getInfo",
  29. method: "get",
  30. data: data,
  31. });
  32. },
  33. updateSchoolInfo(data) {
  34. return myRequest({
  35. url: "/school/info/edit",
  36. method: "post",
  37. data: data,
  38. });
  39. },
  40. getUserBuy(data) {
  41. return myRequest({
  42. url: "/system/user/list",
  43. method: "get",
  44. data: data,
  45. });
  46. },
  47. rankList(data) {
  48. return myRequest({
  49. url: "/app/user/rankingList",
  50. method: "get",
  51. data: data,
  52. });
  53. },
  54. getUserSubscribeRecentExam(data) {
  55. return myRequest({
  56. url: "/user/subscribe/recentExam",
  57. method: "get",
  58. data: data,
  59. });
  60. },
  61. userConfirmInfoDetail(data) {
  62. return myRequest({
  63. url: "/user/confirm/info/detail",
  64. method: "GET",
  65. data: data,
  66. });
  67. },
  68. userConfirminfo(data) {
  69. return myRequest({
  70. url: "/user/confirm/info",
  71. method: "post",
  72. data: data,
  73. });
  74. },
  75. };