1.修复抖音标题空
This commit is contained in:
parent
a340625d58
commit
7771779478
|
@ -372,14 +372,12 @@ namespace DYRebate
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var title = string.Empty;
|
|
||||||
|
|
||||||
//店铺名称
|
//店铺名称
|
||||||
var nick = goods.shop_name;
|
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;
|
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());
|
var price = decimal.Parse((goods.price / 100m).ToString());
|
||||||
|
|
Loading…
Reference in New Issue