展品维保小程序前端代码接口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
445 B

2 weeks ago
2 weeks ago
2 weeks ago
  1. // import request from "@/api/request";
  2. import http from "@/api/http";
  3. export default {
  4. // 我的资料- 获取个人信息
  5. async queryUser() {
  6. return http({
  7. url: '/userInfo/queryUser',
  8. method: 'GET',
  9. needToken: true
  10. })
  11. },
  12. // 我的资料- 修改个人信息
  13. async updateUser(data) {
  14. return http({
  15. url: '/userInfo/updateUser',
  16. method: 'POST',
  17. data,
  18. needToken: true
  19. })
  20. },
  21. }