From 13282d3ebd01facf71de916452e15dd13f642c22 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 07 八月 2023 19:22:08 +0800
Subject: [PATCH] 修改端口
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java
index 804813d..c9ad1ed 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java
@@ -78,7 +78,7 @@
String url1 = serverConfig.getUrl();
log.info("url1鐨勫�紀ld :{}", url1);
//杩欓噷鐨�8032涓嶆槸tomcat鐨勶紝鎵�浠ヨ杞垚tomcat鐨�
- url1.replaceAll("8099", "8032");
+ url1 = url1.replace("8032", "8099");
log.info("url1鐨勫�糿ew :{}", url1);
String url = url1 + fileName;
AjaxResult ajax = AjaxResult.success();
--
Gitblit v1.9.3