From 8709a0ff1abc16eebaf315ec6db8cd6a0b3c781a Mon Sep 17 00:00:00 2001 From: Iamasoldier <1272745473@qq.com> Date: Thu, 24 Jul 2025 18:41:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=AE=A2=E5=8D=95=E4=B8=AD=E5=BF=83)?= =?UTF-8?q?=EF=BC=9A=E5=8E=8B=E7=BC=A9=E5=A4=A7=E5=B0=8F=E8=B0=83=E6=95=B4?= =?UTF-8?q?=EF=BC=8CaiVideo=E5=AD=97=E6=AE=B5=E5=80=BC=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/central/order/controller/OrderController.java | 2 +- .../order-center/src/main/resources/application.yml | 2 +- .../order-center/src/main/resources/bootstrap.yml | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/zlt-business/order-center/src/main/java/com/central/order/controller/OrderController.java b/zlt-business/order-center/src/main/java/com/central/order/controller/OrderController.java index 1be33a9b..c03556c7 100644 --- a/zlt-business/order-center/src/main/java/com/central/order/controller/OrderController.java +++ b/zlt-business/order-center/src/main/java/com/central/order/controller/OrderController.java @@ -774,7 +774,7 @@ public class OrderController { String aiVideoUrl = null; if (!aiVideoFiles.isEmpty()) { fileMap.put("path", aiVideoFiles.get(0).getFilePath()); - aiVideoUrl = fileCenterService.getViewUrlByPathStyle(fileMap); + aiVideoUrl = fileCenterService.getViewUrlByPathStyle(fileMap).replace(cdnOssUrl, cdnUrl); } orderFileMap.put("aiVideo", aiVideoUrl); diff --git a/zlt-business/order-center/src/main/resources/application.yml b/zlt-business/order-center/src/main/resources/application.yml index 1a44a753..8029a63a 100644 --- a/zlt-business/order-center/src/main/resources/application.yml +++ b/zlt-business/order-center/src/main/resources/application.yml @@ -88,7 +88,7 @@ tencent: file: oss-url: goflyapp.oss-cn-beijing.aliyuncs.com cdn-url: cdn.goflytec.com - style: image/resize,m_mfit,w_300,h_250 + style: image/resize,m_mfit,w_218,h_160 #审计日志 # audit-log: # enabled: true diff --git a/zlt-business/order-center/src/main/resources/bootstrap.yml b/zlt-business/order-center/src/main/resources/bootstrap.yml index e780c4e4..1566517e 100644 --- a/zlt-business/order-center/src/main/resources/bootstrap.yml +++ b/zlt-business/order-center/src/main/resources/bootstrap.yml @@ -4,10 +4,10 @@ server: spring: application: name: order-center -# cloud: -# nacos: -# discovery: -# ip: 81.70.164.178 + cloud: + nacos: + discovery: + ip: 81.70.164.178 # cloud: # nacos: # discovery: