From cb8a7ec41eb7088086de43b2a651aa37404c3d42 Mon Sep 17 00:00:00 2001 From: chenzhihang <709011834@qq.com> Date: Mon, 25 Aug 2025 10:40:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BF=9D=E5=AD=98=E6=B5=81?= =?UTF-8?q?=E6=B0=B4=E7=BA=BF-=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/platform/service/impl/WorkflowServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/WorkflowServiceImpl.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/WorkflowServiceImpl.java index 8d8849b7..0b39e5f6 100644 --- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/WorkflowServiceImpl.java +++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/WorkflowServiceImpl.java @@ -358,7 +358,7 @@ public class WorkflowServiceImpl implements WorkflowService { imageUrl = (String) image.get("showValue"); } String[] imageSplit = imageUrl.split(":"); - String tagName = imageSplit[1]; + String tagName = imageSplit[imageSplit.length - 1]; ImageVersion imageVersion = imageVersionDao.queryByUrl(imageUrl); insertAssetWorkFlow(workflowId, workflowName, Long.valueOf(imageVersion.getImageId()), tagName, Constant.Asset_Type_Image); } catch (Exception e) {