refertor:使用antdX重构dify聊天渲染组件,到处引用文件

This commit is contained in:
PingChuan
2025-12-05 23:36:12 +08:00
parent 5f9ce2fe9f
commit 7a2a481f44
11 changed files with 469 additions and 91 deletions
+10 -10
View File
@@ -44,9 +44,9 @@ const portConfigs: Record<string, Partial<ApiConfig>> = {
// 主要
// 梅州
'51703': {
baseUrl: 'http://172.16.0.78:8073',
documentUrl: 'http://172.16.0.78:8073/docauditai/',
uploadUrl: 'http://172.16.0.78:8073/admin/documents',
baseUrl: 'http://172.16.0.56:8073',
documentUrl: 'http://172.16.0.56:8073/docauditai/',
uploadUrl: 'http://172.16.0.56:8073/admin/documents',
collaboraUrl: 'http://172.16.0.81:9980',
appUrl: 'http://172.16.0.34:51703',
@@ -121,15 +121,15 @@ const portConfigs: Record<string, Partial<ApiConfig>> = {
const configs: Record<string, ApiConfig> = {
// 开发环境
development: {
baseUrl: 'http://172.16.0.58:8073', // FastAPI后端(包含/dify代理)
documentUrl: 'http://172.16.0.58:8073/docauditai/',
uploadUrl: 'http://172.16.0.58:8073/admin/documents',
baseUrl: 'http://172.16.0.56:8073', // FastAPI后端(包含/dify代理)
documentUrl: 'http://172.16.0.56:8073/docauditai/',
uploadUrl: 'http://172.16.0.56:8073/admin/documents',
// baseUrl: 'http://172.16.0.55:8073', // FastAPI后端(包含/dify代理)
// documentUrl: 'http://172.16.0.55:8073/docauditai/',
// uploadUrl: 'http://172.16.0.55:8073/admin/documents',
collaboraUrl: 'http://172.16.0.81:9980',
appUrl: 'http://172.16.0.78:51703',
appUrl: 'http://172.16.0.56:51703',
oauth: {
serverUrl: 'http://10.79.112.85', // IDaaS服务器地址
@@ -146,9 +146,9 @@ const configs: Record<string, ApiConfig> = {
// 测试环境
testing: {
baseUrl: 'http://nas.7bm.co:8873', // FastAPI后端(包含/dify代理)
documentUrl: 'http://nas.7bm.co:8873/docauditai/',
uploadUrl: 'http://nas.7bm.co:8873/admin/documents',
baseUrl: 'http://172.16.0.56:8073', // FastAPI后端(包含/dify代理)
documentUrl: 'http://172.16.0.56:8073/docauditai/',
uploadUrl: 'http://172.16.0.56:8073/admin/documents',
collaboraUrl: 'http://10.79.97.17:9980',
appUrl: 'http://10.79.97.17:51703',
oauth: {