From 89f81667aaeafeeafaae77e8b183015ddf20c70a Mon Sep 17 00:00:00 2001 From: xushilin <1354769781@qq.com> Date: Tue, 4 Nov 2025 10:21:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/index.js | 7 +- config.js | 6 +- pages/index/index.vue | 513 ++++++------ request/index.js | 129 ++- unpackage/dist/dev/app-plus/app-service.js | 800 +++++++++--------- unpackage/dist/dev/app-plus/app-view.js | 905 ++++++++++----------- 6 files changed, 1140 insertions(+), 1220 deletions(-) diff --git a/api/index.js b/api/index.js index 8f64822..c67776f 100644 --- a/api/index.js +++ b/api/index.js @@ -2,7 +2,10 @@ import request from '@/request'; // 获取汇总 -export const getEnamellingSummaryData = () => request({ - url: '/mes/mesEnamellingWorkorder/getEnamellingSummaryData', +export const getAIResponse = (data) => request({ + method : 'POST', + url: '/chat', + data }); + diff --git a/config.js b/config.js index 328b182..2cb29f7 100644 --- a/config.js +++ b/config.js @@ -5,11 +5,7 @@ if (process.env.NODE_ENV === 'production') { baseUrl = 'http://106.227.91.181:9081/api'; } else { // 非生产环境代码 - // baseUrl = 'http://192.168.9.237:8182'; - // baseUrl = 'http://192.168.50.200:8080'; - // baseUrl = 'http://huaerda-api.24yt.com'; - // baseUrl = 'http://192.168.20.80:8080'; - baseUrl = 'http://106.227.91.181:9081/api'; + baseUrl = 'http://192.168.1.18:9020/api'; } const config = { baseUrl diff --git a/pages/index/index.vue b/pages/index/index.vue index ca2ce88..3e0c1c6 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,6 +1,6 @@