From d88c9c150e36c5bbe76301e43eaaa282658d7841 Mon Sep 17 00:00:00 2001 From: zpc Date: Thu, 29 Aug 2024 13:52:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Cache/Special/ProductEntityCache.cs | 2 +- src/0-core/HuanMeng.MiaoYu.Model/Dto/Shop/ShopInfoDto.cs | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/0-core/HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs b/src/0-core/HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs index 6acd329..de21cf0 100644 --- a/src/0-core/HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs +++ b/src/0-core/HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs @@ -136,7 +136,7 @@ namespace HuanMeng.MiaoYu.Code.Cache.Special ProductId = product.ProductId, PriceType = 0, ProductName = product.ProductName, - PropName = product.ProductName, + ProductDesc=product.ProductDesc, PropId = product.Id, PropType = (int)ProductType.记忆卡, ImgUrl = imgUrl, diff --git a/src/0-core/HuanMeng.MiaoYu.Model/Dto/Shop/ShopInfoDto.cs b/src/0-core/HuanMeng.MiaoYu.Model/Dto/Shop/ShopInfoDto.cs index 577ad83..d2af314 100644 --- a/src/0-core/HuanMeng.MiaoYu.Model/Dto/Shop/ShopInfoDto.cs +++ b/src/0-core/HuanMeng.MiaoYu.Model/Dto/Shop/ShopInfoDto.cs @@ -42,10 +42,6 @@ namespace HuanMeng.MiaoYu.Model.Dto.Shop /// 产品Id /// public string ProductId { get; set; } - /// - /// 道具名称 - /// - public string PropName { get; set; } /// /// 道具名称 @@ -72,6 +68,11 @@ namespace HuanMeng.MiaoYu.Model.Dto.Shop /// 图片地址 /// public string ImgUrl { get; set; } + + /// + /// 角色描述 + /// + public string ProductDesc { get; set; } } ///