lxf
2025-07-15 8399c6d4250306b27474157012be241f4c86c8a0
src/service/http.js
@@ -6,12 +6,12 @@
import AxiosReques from "./axios";
import qs from "qs";
import {BASE_URL} from "@/config";
import { BASE_URL } from "@/config";
import { getStorage } from '@/utils'
let baseUrl = BASE_URL
if (getStorage('tzlj')) {
    baseUrl = getStorage('tzlj');
    // baseUrl = getStorage('tzlj');
}
/**
 * @description Create axios.
@@ -82,7 +82,7 @@
        // }
        return axios.request({
            url,
            params: params ? params: {},
            params: params ? params : {},
            method
        });
    } else {
@@ -124,5 +124,5 @@
 * @param {Object} param Request params.
 */
export const httpMultipart = ({ url, method, isLoading }, params) => {
    return createAxios(axiosMultipart, {url, method, isLoading}, params);
    return createAxios(axiosMultipart, { url, method, isLoading }, params);
}