From ebc3e110b7d6a09f55e6b0184f6c6c75335f0679 Mon Sep 17 00:00:00 2001 From: menxipeng Date: Wed, 13 Aug 2025 18:00:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E4=BA=AB=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/common/core/domain/entity/ShareInfo.java | 2 ++ .../src/main/resources/mapper/system/ShareInfoMapper.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/ShareInfo.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/ShareInfo.java index 3e9130f..10b8d2e 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/ShareInfo.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/ShareInfo.java @@ -58,6 +58,8 @@ public class ShareInfo extends BaseEntity private String musicImgAddr; + private String musicAddr; + private String musicAuthor; } diff --git a/ruoyi-system/src/main/resources/mapper/system/ShareInfoMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ShareInfoMapper.xml index 246f8ff..e87d68e 100644 --- a/ruoyi-system/src/main/resources/mapper/system/ShareInfoMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/ShareInfoMapper.xml @@ -101,6 +101,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" mi.name as `musicName`, mi.img_addr as musicImgAddr, mi.music_addr as musicAddr, + mi.music_id as musicId, mi.author as musicAuthor FROM share_info si left join shop_user su on si.user_id = su.user_id