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: