From 72fd5a4358d80398209ffbeda4297052a1564bbd Mon Sep 17 00:00:00 2001 From: zjf <1799650030@qq.com> Date: Mon, 12 Oct 2026 17:35:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../product/controller/app/device/AppDeviceController.java | 1 + .../product/controller/app/device/vo/AppDeviceListRespVO.java | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/device/AppDeviceController.java b/yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/device/AppDeviceController.java index 9d14312..a8b488d 100644 --- a/yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/device/AppDeviceController.java +++ b/yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/device/AppDeviceController.java @@ -50,6 +50,7 @@ public class AppDeviceController { AppDeviceListRespVO vo = new AppDeviceListRespVO(); vo.setDeviceId(device.getDeviceId()); vo.setDeviceName(device.getName()); + vo.setFileUrl(device.getFileUrl()); return vo; }) .collect(Collectors.toList()); diff --git a/yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/device/vo/AppDeviceListRespVO.java b/yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/device/vo/AppDeviceListRespVO.java index 3e62d90..b7250ea 100644 --- a/yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/device/vo/AppDeviceListRespVO.java +++ b/yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/device/vo/AppDeviceListRespVO.java @@ -17,4 +17,8 @@ public class AppDeviceListRespVO { @Schema(description = "售货机名称(显示在顶部地址栏)", requiredMode = Schema.RequiredMode.REQUIRED, example = "一号楼售货机") private String deviceName; + + @Schema(description = "广告图/视频地址", example = "https://www.iocoder.cn/xx.png") + private String fileUrl; + }