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.

31 lines
585 B

import { getBaseUrl } from '@/utils/systemParam'
11 months ago
const config: {
base_url: string
result_code: number | string
default_headers: AxiosHeaders
request_timeout: number
} = {
/**
* api请求基础路径
*/
base_url: getBaseUrl() + import.meta.env.VITE_API_URL,
11 months ago
/**
*
*/
result_code: 200,
/**
*
*/
request_timeout: 3000000,
11 months ago
/**
*
* application/x-www-form-urlencoded multipart/form-data
*/
default_headers: 'application/json'
}
export { config }