Commit d2e55c81 authored by 黄奎's avatar 黄奎

页面修改

parent dc83212e
...@@ -1489,6 +1489,7 @@ namespace Mall.Module.Product ...@@ -1489,6 +1489,7 @@ namespace Mall.Module.Product
public object GetAppletGoodsInfo_V2(int goodsId, int UserId, int SmallShopsId, int TenantId, int MallBaseId) public object GetAppletGoodsInfo_V2(int goodsId, int UserId, int SmallShopsId, int TenantId, int MallBaseId)
{ {
var model = goodsRepository.GetEntity(goodsId).RefMapperTo<RB_Goods_Extend>(); var model = goodsRepository.GetEntity(goodsId).RefMapperTo<RB_Goods_Extend>();
decimal oldOriginalPrice = model?.OriginalPrice ?? 0;
//是否商品有分销信息 //是否商品有分销信息
int IsExistsShare = 0; int IsExistsShare = 0;
if (model == null || model.TenantId != TenantId || model.MallBaseId != MallBaseId) if (model == null || model.TenantId != TenantId || model.MallBaseId != MallBaseId)
...@@ -2582,6 +2583,7 @@ namespace Mall.Module.Product ...@@ -2582,6 +2583,7 @@ namespace Mall.Module.Product
name = model.Name, name = model.Name,
subname = model?.SubName??"", subname = model?.SubName??"",
original_price = model.OriginalPrice, original_price = model.OriginalPrice,
jjxkt_original_price = oldOriginalPrice,
cover_pic = model.CoverImage, cover_pic = model.CoverImage,
unit = model.Unit, unit = model.Unit,
detail = model.GoodsDetails, detail = model.GoodsDetails,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment