refactor: 调整 axios 配置
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import webClient from "@/service/web-client"
|
||||
import webClient from "@/client/web-client"
|
||||
import { HttpStatus } from "@/constant"
|
||||
import type { CaptchaResponse, UserAuthResponse } from "@/types/web/response"
|
||||
import type { UsernamePasswordLoginRequest } from "@/types/web/request"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import webClient from "@/service/web-client"
|
||||
import webClient from "@/client/web-client"
|
||||
import type { TreeNode } from "@/types/tree"
|
||||
import type { Department } from "@/types/entity"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import webClient from "@/service/web-client"
|
||||
import webClient from "@/client/web-client"
|
||||
import type { TreeNode } from "@/types/tree"
|
||||
import type { MenuItem } from "@/types/entity"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import webClient from "@/service/web-client"
|
||||
import webClient from "@/client/web-client"
|
||||
import type { QueryPositionRequest } from "@/types/web/request"
|
||||
import type { PageResponse } from "@/types/web/response"
|
||||
import type { Position } from "@/types/entity"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { QueryRoleRequest } from "@/types/web/request"
|
||||
import webClient from "@/service/web-client"
|
||||
import webClient from "@/client/web-client"
|
||||
import type { PageResponse, RoleResponse } from "@/types/web/response"
|
||||
import type { RoleFormValues } from "@/components/role-display-form"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import webClient from "@/service/web-client"
|
||||
import webClient from "@/client/web-client"
|
||||
import { getCountryCallingCode } from "libphonenumber-js"
|
||||
import { getDefaultCountryCode } from "@/utils/phone-number-utils"
|
||||
import type { AddUserRequest, EditUserRequest, QueryUserRequest } from "@/types/web/request"
|
||||
|
||||
Reference in New Issue
Block a user