From 777177947853c5808e4370079509f5c632f3afee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=88=E6=A3=AE=E5=90=B4?= <8402134@qq.com> Date: Sat, 14 Jan 2023 15:24:58 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E6=8A=96=E9=9F=B3=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 应用/DYRebate/MessageOperation.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/应用/DYRebate/MessageOperation.cs b/应用/DYRebate/MessageOperation.cs index ce6b239..e9c7e76 100644 --- a/应用/DYRebate/MessageOperation.cs +++ b/应用/DYRebate/MessageOperation.cs @@ -372,14 +372,12 @@ namespace DYRebate } - var title = string.Empty; - //店铺名称 var nick = goods.shop_name; //商品主图 var pict_url = !string.IsNullOrWhiteSpace(goods.cover) ? goods.cover : (goods.imgs != null && goods.imgs.Count != 0) ? goods.imgs[0] : string.Empty; ////商品标题//< >&"© <,>,&,",©; - //title = goods.title.Replace("‮", "").Replace("<", "<").Replace(">", ">").Replace("&", "&").Replace(""", "\"").Replace(" ©", "©");//这里有个看不见的字符,要将其替换掉 + var title = goods.title.Replace("‮", "").Replace("<", "<").Replace(">", ">").Replace("&", "&").Replace(""", "\"").Replace(" ©", "©");//这里有个看不见的字符,要将其替换掉 //原价 var price = decimal.Parse((goods.price / 100m).ToString());