平安校园
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.
 
 
 
 
 
 

26 regels
494 B

  1. import http from '@/http/api.js'
  2. let url = '/api/sys/auth/b'
  3. // 登录
  4. export const login = (data) => {
  5. return http.request({
  6. url: url + '/login',
  7. method: 'POST',
  8. data
  9. })
  10. }
  11. // 获取登录用户信息
  12. export const getLoginUser = (params) => {
  13. return http.request({
  14. url: url + '/getLoginUser',
  15. method: 'GET',
  16. params
  17. })
  18. }
  19. // 修改用户信息
  20. export const updateUserInfo = (data) => {
  21. return http.request({
  22. url: '/api/userCenter/updateUserInfo',
  23. method: 'POST',
  24. data
  25. })
  26. }