From 20b7fc27173e70b730cba0436d50bcd9fad035e0 Mon Sep 17 00:00:00 2001 From: wusijian0117 <2910410219@qq.com> Date: Sat, 14 Mar 2026 10:21:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=80=E5=8F=91=E7=8E=AF?= =?UTF-8?q?=E5=A2=83API=E6=9C=8D=E5=8A=A1=E5=9C=B0=E5=9D=80,=E5=B0=86?= =?UTF-8?q?=E5=AE=A2=E6=9C=8D=E7=B3=BB=E7=BB=9F=E6=8E=A5=E5=8F=A3=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E5=89=8D=E7=BC=80=E4=BB=8EcustomerService=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E8=B0=83=E6=95=B4=E4=B8=BAcustomer-server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/api/customerService/account/index.ts | 12 ++++++------ src/api/customerService/product/index.ts | 12 ++++++------ src/api/customerService/report/index.ts | 4 ++-- src/api/customerService/script/index.ts | 8 ++++---- src/views/assets/operation/count/index.vue | 2 +- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.env.development b/.env.development index e1f714a..da4c113 100644 --- a/.env.development +++ b/.env.development @@ -12,7 +12,7 @@ ENV = 'development' # 主服务地址(端口8808) # 用途: 系统管理、用户认证、权限控制、模块开通等原有功能 -VITE_API_URL = 'http://192.168.3.94:8808/' +VITE_API_URL = 'http://192.168.3.11:8808/' # 新功能服务地址(端口8000) # 用途: 资产管理、分类、SKU、订单等新业务模块 -VITE_NEW_API_URL = 'http://192.168.3.94:8000/' \ No newline at end of file +VITE_NEW_API_URL = 'http://192.168.3.11:8000/' \ No newline at end of file diff --git a/src/api/customerService/account/index.ts b/src/api/customerService/account/index.ts index e144f53..6b36f9d 100644 --- a/src/api/customerService/account/index.ts +++ b/src/api/customerService/account/index.ts @@ -3,7 +3,7 @@ import request, { newService } from '/@/utils/request'; //获取账号列表 export function getaccountList(data: object) { return newService({ - url: '/customerService/customer/service/account/list', + url: '/customer-server/customer/service/account/list', method: 'get', params: data, }); @@ -12,7 +12,7 @@ export function getaccountList(data: object) { //添加客服账号 export function addAccount(data: object) { return newService({ - url: '/customerService/customer/service/account/add', + url: '/customer-server/customer/service/account/add', method: 'post', data: data, }); @@ -21,7 +21,7 @@ export function addAccount(data: object) { //禁用账号 export function updatestate(data: object) { return newService({ - url: '/customerService/customer/service/account/toggleStatus', + url: '/customer-server/customer/service/account/toggleStatus', method: 'post', data: data, }); @@ -30,7 +30,7 @@ export function updatestate(data: object) { //更新账号 export function updateAccount(data: object) { return newService({ - url: '/customerService/customer/service/account/update', + url: '/customer-server/customer/service/account/update', method: 'post', data: data, }); @@ -39,7 +39,7 @@ export function updateAccount(data: object) { //获取RAGFlow配置(提示词) export function getRAGFlowConfig(params: object) { return newService({ - url: '/customerService/ragflow/config/get', + url: '/customer-server/ragflow/config/get', method: 'get', params: params, }); @@ -48,7 +48,7 @@ export function getRAGFlowConfig(params: object) { //更新提示词 export function updatePrompt(data: object) { return newService({ - url: '/customerService/ragflow/config/updatePrompt', + url: '/customer-server/ragflow/config/updatePrompt', method: 'post', data: data, }); diff --git a/src/api/customerService/product/index.ts b/src/api/customerService/product/index.ts index 73be4b0..c07a838 100644 --- a/src/api/customerService/product/index.ts +++ b/src/api/customerService/product/index.ts @@ -3,7 +3,7 @@ import request, { newService } from '/@/utils/request'; //添加产品 export function addProduct(data: object) { return newService({ - url: '/customerService/product/add', + url: '/customer-server/product/add', method: 'post', data: data, }); @@ -12,7 +12,7 @@ export function addProduct(data: object) { //删除产品 export function deleteProduct(data: object) { return newService({ - url: '/customerService/product/delete', + url: '/customer-server/product/delete', method: 'post', data: data, }); @@ -21,7 +21,7 @@ export function deleteProduct(data: object) { //获取产品列表 export function getList(data: object) { return newService({ - url: '/customerService/product/list', + url: '/customer-server/product/list', method: 'get', params: data, }); @@ -30,7 +30,7 @@ export function getList(data: object) { //更新产品 export function updateProduct(data: object) { return newService({ - url: '/customerService/product/update', + url: '/customer-server/product/update', method: 'post', data: data, }); @@ -39,7 +39,7 @@ export function updateProduct(data: object) { // 导出产品 export function exportProduct(data: object) { return newService({ - url: '/customerService/product/export', + url: '/customer-server/product/export', responseType: 'blob', method: 'get', params: data, @@ -49,7 +49,7 @@ export function exportProduct(data: object) { //导入产品 export function importProduct(data: FormData) { return newService({ - url: '/customerService/product/import', + url: '/customer-server/product/import', method: 'post', data: data, headers: { diff --git a/src/api/customerService/report/index.ts b/src/api/customerService/report/index.ts index 260fb9e..950936b 100644 --- a/src/api/customerService/report/index.ts +++ b/src/api/customerService/report/index.ts @@ -3,7 +3,7 @@ import request, { newService } from '/@/utils/request'; //获取数据列表 export function getDataList(data: object) { return newService({ - url: '/customerService/data/statistics/list', + url: '/customer-server/data/statistics/list', method: 'get', params: data, }); @@ -12,7 +12,7 @@ export function getDataList(data: object) { // 导出报表 export function exportReport(data: object) { return newService({ - url: '/customerService/data/statistics/export', + url: '/customer-server/data/statistics/export', responseType: 'blob', method: 'get', params: data, diff --git a/src/api/customerService/script/index.ts b/src/api/customerService/script/index.ts index c266c3f..c94bee6 100644 --- a/src/api/customerService/script/index.ts +++ b/src/api/customerService/script/index.ts @@ -3,7 +3,7 @@ import request, { newService } from '/@/utils/request'; //获取话术列表 export function getscriptList(data: object) { return newService({ - url: '/customerService/speechcraft/list', + url: '/customer-server/speechcraft/list', method: 'get', params: data, }); @@ -12,7 +12,7 @@ export function getscriptList(data: object) { //增加话术 export function addScript(data: object) { return newService({ - url: '/customerService/speechcraft/add', + url: '/customer-server/speechcraft/add', method: 'post', data: data, }); @@ -21,7 +21,7 @@ export function addScript(data: object) { //删除话术列表 export function deleteScript(data: object) { return newService({ - url: '/customerService/speechcraft/delete', + url: '/customer-server/speechcraft/delete', method: 'post', data: data, }); @@ -30,7 +30,7 @@ export function deleteScript(data: object) { //更新话术列表 export function updateScript(data: object) { return newService({ - url: '/customerService/speechcraft/update', + url: '/customer-server/speechcraft/update', method: 'post', data: data, }); diff --git a/src/views/assets/operation/count/index.vue b/src/views/assets/operation/count/index.vue index cc6f808..0b2f52e 100644 --- a/src/views/assets/operation/count/index.vue +++ b/src/views/assets/operation/count/index.vue @@ -321,4 +321,4 @@ onMounted(() => { .inventory-count-page { padding: 15px; } - + \ No newline at end of file