index.ts 615 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * @Description:
  3. * @Author: qianlishi
  4. * @Date: 2024-12-13 16:05:55
  5. * @LastEditors: qianlishi
  6. * @LastEditTime: 2024-12-13 16:43:57
  7. */
  8. import { http } from '@/utils/http/axios';
  9. export function login(data) {
  10. return http.request({
  11. url: 'accessUser/login',
  12. method: 'post',
  13. data,
  14. });
  15. }
  16. // 登录之后 根据旧修改密码
  17. export function reqUpdatePassword(data) {
  18. return http.request({
  19. url: '/accessUser/updatePassword',
  20. method: 'post',
  21. data,
  22. });
  23. }
  24. // 数字字典
  25. export function getAllDict() {
  26. return http.request({
  27. url: '/gaeaDict/all',
  28. method: 'GET',
  29. });
  30. }