diff --git a/.env.development b/.env.development index 2efabe7..e47d28b 100644 --- a/.env.development +++ b/.env.development @@ -2,7 +2,7 @@ ENV = development # 本地环境接口地址 -VITE_API_URL = http://192.168.2.12:5037 +VITE_API_URL = http://192.168.2.16:5034 # VITE_API_URL = http://192.168.2.15:5034 # VITE_API_URL = http://gvc7ew.natappfree.cc # VITE_API_URL = http://192.168.2.17:5034 diff --git a/public/config.js b/public/config.js index 5cc6d38..f109ff2 100644 --- a/public/config.js +++ b/public/config.js @@ -4,5 +4,5 @@ window.__env__ = { "VITE_OPEN_CDN": "false", "VITE_PUBLIC_PATH": "", "VITE_SM_PUBLIC_KEY": "0484C7466D950E120E5ECE5DD85D0C90EAA85081A3A2BD7C57AE6DC822EFCCBD66620C67B0103FC8DD280E36C3B282977B722AAEC3C56518EDCEBAFB72C5A05312", - "VITE_API_URL": "http://localhost:5034" + "VITE_API_URL": "http://192.168.2.16:5034" } \ No newline at end of file diff --git a/src/api-services/apis/sys-chargemonitor-api.ts b/src/api-services/apis/sys-chargemonitor-api.ts index 2907a2c..84c604a 100644 --- a/src/api-services/apis/sys-chargemonitor-api.ts +++ b/src/api-services/apis/sys-chargemonitor-api.ts @@ -406,7 +406,7 @@ export const SysChargeMonitorApiAxiosParamCreator = function (configuration?: Co * @throws {RequiredError} */ apiGetHumitureGet: async (options: AxiosRequestConfig = {}): Promise => { - const localVarPath = `/Humiture/GetHumiture`; + const localVarPath = `/api/Humiture/LstGetHumiture`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, 'https://example.com'); let baseOptions; @@ -1083,7 +1083,7 @@ export const SysChargeMonitorApiFp = function (configuration?: Configuration) { */ async apiGetHumitureGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>> { const localVarAxiosArgs = await SysChargeMonitorApiAxiosParamCreator(configuration).apiGetHumitureGet(options); - const three_url = 'http://192.168.2.17:5036' + const three_url = 'http://192.168.2.16:5036' return (axios: AxiosInstance = globalAxios, basePath: string = three_url) => { const axiosRequestArgs: AxiosRequestConfig = { ...localVarAxiosArgs.options, url: three_url + localVarAxiosArgs.url }; diff --git a/src/views/heat/humidity/index.vue b/src/views/heat/humidity/index.vue index 10e9177..ba9845a 100644 --- a/src/views/heat/humidity/index.vue +++ b/src/views/heat/humidity/index.vue @@ -1,15 +1,15 @@