|
@@ -7,9 +7,9 @@ import { paramMate } from "@/utils/common";
|
|
|
|
|
|
axios.defaults.headers["Content-Type"] = "application/json;charset=utf-8";
|
|
axios.defaults.headers["Content-Type"] = "application/json;charset=utf-8";
|
|
// 创建axios实例
|
|
// 创建axios实例
|
|
-// export const baseURL = process.env.VUE_APP_BASE_API
|
|
|
|
|
|
+export const baseURL = process.env.VUE_APP_BASE_API
|
|
// export const baseURL = 'https://ptapi.gdzzkj.net/'
|
|
// export const baseURL = 'https://ptapi.gdzzkj.net/'
|
|
-export const baseURL = "http://192.168.1.24:7077/";
|
|
|
|
|
|
+// export const baseURL = "http://192.168.1.24:7077/";
|
|
export const BASE_IMG_URL = process.env.VUE_APP_IMG_API;
|
|
export const BASE_IMG_URL = process.env.VUE_APP_IMG_API;
|
|
const service = axios.create({
|
|
const service = axios.create({
|
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|