userInfo.js 1.6 KB

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